Add ccls config to nvim

This commit is contained in:
Pavle Portic 2024-03-07 13:10:43 +01:00
parent a3b4124161
commit a6d5087749
Signed by: TheEdgeOfRage
GPG Key ID: 66AD4BA646FBC0D2
1 changed files with 12 additions and 9 deletions

View File

@ -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({