Fix coc-nvim config
This commit is contained in:
parent
a2834818aa
commit
9521ecd892
2 changed files with 30 additions and 24 deletions
|
@ -22,6 +22,7 @@ in
|
|||
delve
|
||||
neovim
|
||||
polymc
|
||||
sumneko-lua-language-server
|
||||
cargo-crev
|
||||
cargo-fuzz
|
||||
tdesktop
|
||||
|
|
|
@ -127,7 +127,7 @@
|
|||
coc-pyright
|
||||
coc-tsserver
|
||||
coc-clangd
|
||||
|
||||
coc-lua
|
||||
kotlin-vim
|
||||
neoformat
|
||||
undotree
|
||||
|
@ -152,7 +152,6 @@
|
|||
'';
|
||||
coc.enable = true;
|
||||
coc.settings = {
|
||||
text = {
|
||||
"coc.preferences.formatOnSaveFiletypes" = [
|
||||
"css"
|
||||
"markdown"
|
||||
|
@ -175,6 +174,12 @@
|
|||
"nix"
|
||||
];
|
||||
};
|
||||
"lua" = {
|
||||
"command" = "${pkgs.sumneko-lua-language-server}/bin/lua-language-server";
|
||||
"rootPatterns" = [ ".git" ];
|
||||
"filetypes" = [
|
||||
"lua"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue