add typescript language server

This commit is contained in:
Luca Sciarra 2024-08-04 12:48:25 -04:00
parent 7f84d85328
commit 13993cfabc
2 changed files with 10 additions and 1 deletions

View File

@ -582,7 +582,7 @@ require('lazy').setup({
-- https://github.com/pmizio/typescript-tools.nvim
--
-- But for many setups, the LSP (`tsserver`) will work just fine
-- tsserver = {},
tsserver = {},
--
lua_ls = {

View File

@ -14,6 +14,15 @@ return {
{ '\\', ':Neotree reveal right<CR>', { desc = 'NeoTree reveal' } },
},
opts = {
event_handlers = {
{
event = 'file_opened',
handler = function(file_path)
--auto close
require('neo-tree').close_all()
end,
},
},
filesystem = {
window = {
mappings = {