1
0
forked from extern/nix-config

neovim: Add astro-language-server

This commit is contained in:
Donovan Glover 2023-07-19 13:20:48 -04:00
parent 07bd6c6ed6
commit baa4ca1362
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -43,6 +43,7 @@ in
yarn
deno
nodePackages.typescript-language-server
nodePackages."@astrojs/language-server"
# rust
rustc
@ -221,6 +222,7 @@ in
lspconfig.texlab.setup {}
lspconfig.crystalline.setup {}
lspconfig.tsserver.setup {}
lspconfig.astro.setup {}
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_next)