Skip to content

Commit 13993cf

Browse files
committed
add typescript language server
1 parent 7f84d85 commit 13993cf

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ require('lazy').setup({
582582
-- https://github.com/pmizio/typescript-tools.nvim
583583
--
584584
-- But for many setups, the LSP (`tsserver`) will work just fine
585-
-- tsserver = {},
585+
tsserver = {},
586586
--
587587

588588
lua_ls = {

lua/kickstart/plugins/neo-tree.lua

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ return {
1414
{ '\\', ':Neotree reveal right<CR>', { desc = 'NeoTree reveal' } },
1515
},
1616
opts = {
17+
event_handlers = {
18+
{
19+
event = 'file_opened',
20+
handler = function(file_path)
21+
--auto close
22+
require('neo-tree').close_all()
23+
end,
24+
},
25+
},
1726
filesystem = {
1827
window = {
1928
mappings = {

0 commit comments

Comments
 (0)