replace tsserver with typescript-tools plugin
This commit is contained in:
parent
b3aff0982c
commit
71005c5fa6
9
init.lua
9
init.lua
|
|
@ -601,13 +601,6 @@ require('lazy').setup({
|
||||||
-- gopls = {},
|
-- gopls = {},
|
||||||
pyright = {},
|
pyright = {},
|
||||||
-- rust_analyzer = {},
|
-- rust_analyzer = {},
|
||||||
--
|
|
||||||
-- TODO: look into typescript-tools.nvim
|
|
||||||
-- Some languages (like typescript) have entire language plugins that can be useful:
|
|
||||||
-- https://github.com/pmizio/typescript-tools.nvim
|
|
||||||
--
|
|
||||||
-- But for many setups, the LSP (`ts_ls`) will work just fine
|
|
||||||
-- ts_ls = {},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Ensure the servers and tools above are installed
|
-- Ensure the servers and tools above are installed
|
||||||
|
|
@ -622,7 +615,6 @@ require('lazy').setup({
|
||||||
'lua-language-server', -- Lua Language server
|
'lua-language-server', -- Lua Language server
|
||||||
'stylua', -- Used to format Lua code
|
'stylua', -- Used to format Lua code
|
||||||
-- You can add other tools here that you want Mason to install
|
-- You can add other tools here that you want Mason to install
|
||||||
'typescript-language-server', -- Typescript Language Server
|
|
||||||
'omnisharp', -- C# Language Server
|
'omnisharp', -- C# Language Server
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
@ -704,7 +696,6 @@ require('lazy').setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
--FIX: typescript-lsp: This is not working for typescript
|
|
||||||
{ -- Autocompletion
|
{ -- Autocompletion
|
||||||
'saghen/blink.cmp',
|
'saghen/blink.cmp',
|
||||||
event = 'VimEnter',
|
event = 'VimEnter',
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
return {
|
||||||
|
'pmizio/typescript-tools.nvim',
|
||||||
|
dependencies = { 'nvim-lua/plenary.nvim', 'neovim/nvim-lspconfig' },
|
||||||
|
opts = {},
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue