1
0
forked from extern/nix-config

neovim: Add typescript-language-server

This commit is contained in:
Donovan Glover 2023-07-19 11:26:16 -04:00
parent 4f64d67cff
commit 07bd6c6ed6
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -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)