update vim plugins

This commit is contained in:
Barak Michener 2022-12-06 16:02:54 -08:00
parent 7df1e7a4d8
commit 1114ddf947
5 changed files with 25 additions and 24 deletions

View file

@ -35,6 +35,7 @@ nvim_lsp.rust_analyzer.setup({
})
nvim_lsp.gopls.setup({ on_attach = on_attach })
nvim_lsp.pyright.setup({ on_attach = on_attach })
nvim_lsp.clangd.setup({ on_attach = on_attach })
nvim_lsp.tsserver.setup {
cmd = { "/home/barak/.yarn/bin/typescript-language-server", "--stdio" }
@ -42,6 +43,9 @@ nvim_lsp.tsserver.setup {
nvim_lsp.vuels.setup {
cmd = { "/home/barak/.yarn/bin/vls" }
}
nvim_lsp.hls.setup {
cmd = { "haskell-language-server-wrapper", "--lsp" }
}
nvim_lsp.svelte.setup {
cmd = { "/home/barak/.yarn/bin/svelteserver", "--stdio" }
@ -397,14 +401,17 @@ require 'nvim-treesitter.configs'.setup {
}
}
require "nvim-treesitter.highlight".set_custom_captures {
-- Highlight the @foo.bar capture group with the "Identifier" highlight group.
-- ["foo.bar"] = "Identifier",
["generic_type_param"] = "TSCGenericTypeParam",
}
--require "nvim-treesitter.highlight".set_custom_captures {
---- Highlight the @foo.bar capture group with the "Identifier" highlight group.
---- ["foo.bar"] = "Identifier",
--["generic_type_param"] = "TSCGenericTypeParam",
--}
require "neogen".setup {}
require('leap').set_default_keymaps()
require("flit").setup {}
--
-- Helper functions for my own grepping commands.
--