Add ccls config to nvim
This commit is contained in:
parent
a3b4124161
commit
a6d5087749
|
@ -150,15 +150,18 @@ lspconfig.terraformls.setup({})
|
||||||
-- json & yaml
|
-- json & yaml
|
||||||
lspconfig.jsonls.setup({})
|
lspconfig.jsonls.setup({})
|
||||||
lspconfig.yamlls.setup({})
|
lspconfig.yamlls.setup({})
|
||||||
-- helm
|
-- c/c++
|
||||||
-- lspconfig.helm_ls.setup({
|
lspconfig.ccls.setup({
|
||||||
-- filetypes = { "helm" },
|
init_options = {
|
||||||
-- cmd = { "helm_ls", "serve" },
|
compilationDatabaseDirectory = "build",
|
||||||
-- root_dir = function(fname)
|
index = {
|
||||||
-- return require("lspconfig.util").root_pattern("Chart.yaml")(fname)
|
threads = 0,
|
||||||
-- end,
|
},
|
||||||
-- })
|
clang = {
|
||||||
|
excludeArgs = { "-frounding-math" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
-- Customize keymaps
|
-- Customize keymaps
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
|
|
Loading…
Reference in New Issue