forked from extern/nix-config
neovim: Add typescript-language-server
This commit is contained in:
parent
4f64d67cff
commit
07bd6c6ed6
@ -42,6 +42,7 @@ in
|
|||||||
nodePackages.npm
|
nodePackages.npm
|
||||||
yarn
|
yarn
|
||||||
deno
|
deno
|
||||||
|
nodePackages.typescript-language-server
|
||||||
|
|
||||||
# rust
|
# rust
|
||||||
rustc
|
rustc
|
||||||
@ -219,6 +220,7 @@ in
|
|||||||
lspconfig.clangd.setup {}
|
lspconfig.clangd.setup {}
|
||||||
lspconfig.texlab.setup {}
|
lspconfig.texlab.setup {}
|
||||||
lspconfig.crystalline.setup {}
|
lspconfig.crystalline.setup {}
|
||||||
|
lspconfig.tsserver.setup {}
|
||||||
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
vim.keymap.set('n', '<space>e', vim.diagnostic.open_float)
|
||||||
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
|
vim.keymap.set('n', '[d', vim.diagnostic.goto_prev)
|
||||||
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
|
vim.keymap.set('n', ']d', vim.diagnostic.goto_next)
|
||||||
|
Loading…
Reference in New Issue
Block a user