use the ensure installed list to enable the typescript language server
This commit is contained in:
parent
c2a02f734b
commit
01669b4939
2
init.lua
2
init.lua
|
|
@ -604,7 +604,6 @@ require('lazy').setup({
|
||||||
-- https://github.com/pmizio/typescript-tools.nvim
|
-- https://github.com/pmizio/typescript-tools.nvim
|
||||||
--
|
--
|
||||||
-- But for many setups, the LSP (`ts_ls`) will work just fine
|
-- But for many setups, the LSP (`ts_ls`) will work just fine
|
||||||
-- FIX: Can not find ts_ls
|
|
||||||
-- ts_ls = {},
|
-- ts_ls = {},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -620,6 +619,7 @@ 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
|
||||||
})
|
})
|
||||||
|
|
||||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue