Neovim, go lang, remore rustacean lsp call
This commit is contained in:
parent
17c7fde05f
commit
dfbe5210c4
4 changed files with 13 additions and 5 deletions
|
|
@ -35,12 +35,12 @@
|
|||
end
|
||||
|
||||
local capabilities = vim.lsp.protocol.make_client_capabilities()
|
||||
'' + lib.strings.optionalString cfgl.nix.enable ''
|
||||
require('lspconfig').nil_ls.setup {}
|
||||
'' + lib.strings.optionalString cfgl.c.enable ''
|
||||
require('lspconfig').clangd.setup {}
|
||||
'' + lib.strings.optionalString cfgl.rust.enable ''
|
||||
require('lspconfig').rustaceanvim.setup {}
|
||||
'' + lib.strings.optionalString cfgl.go.enable ''
|
||||
require('lspconfig').gopls.setup {}
|
||||
'' + lib.strings.optionalString cfgl.nix.enable ''
|
||||
require('lspconfig').nil_ls.setup {}
|
||||
'';
|
||||
in with pkgs.vimPlugins; [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ in {
|
|||
# dynamically. For not just have them always loaded regardless of config
|
||||
treeplugs = p: [
|
||||
p.tree-sitter-c
|
||||
p.tree-sitter-go
|
||||
p.tree-sitter-nix
|
||||
p.tree-sitter-rust
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue