pkgsets/nvim: update lsp config to use opts
This commit is contained in:
parent
d8f29e12b5
commit
378da9479f
17 changed files with 355 additions and 339 deletions
|
@ -5,10 +5,12 @@
|
|||
...
|
||||
}:
|
||||
|
||||
lib.optionalString (lib.elem "nvim::lsp::bash" config.machine.pkgs) # lua
|
||||
''
|
||||
lspconfig.bashls.setup({
|
||||
cmd = {"${pkgs.nodePackages.bash-language-server}/bin/bash-language-server", "start"},
|
||||
filetypes = {"sh"},
|
||||
})
|
||||
''
|
||||
lib.optionalAttrs (lib.elem "nvim::lsp::bash" config.machine.pkgs) {
|
||||
bashls = {
|
||||
cmd = [
|
||||
"${pkgs.nodePackages.bash-language-server}/bin/bash-language-server"
|
||||
"start"
|
||||
];
|
||||
filetypes = [ "sh" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue