mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-30 00:26:45 +00:00
fix: ccls config
This commit is contained in:
parent
91da602672
commit
dca00f83dd
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ with builtins; let
|
||||||
lspconfig.ccls.setup{
|
lspconfig.ccls.setup{
|
||||||
capabilities = capabilities;
|
capabilities = capabilities;
|
||||||
on_attach=default_on_attach;
|
on_attach=default_on_attach;
|
||||||
cmd = {"${pkgs.ccls}/bin/ccls"};
|
cmd = {"${cfg.lsp.package}/bin/ccls"};
|
||||||
${optionalString (cfg.lsp.opts != null) "init_options = ${cfg.lsp.cclsOpts}"}
|
${optionalString (cfg.lsp.opts != null) "init_options = ${cfg.lsp.opts}"}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue