Merge pull request #59 from horriblename/fix-ccls

fix: ccls config
This commit is contained in:
NotAShelf 2023-04-23 16:49:34 +03:00 committed by GitHub
commit 796f6558d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}"}
} }
''; '';
}; };