summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.config/nvim/after/plugin/lsp.lua16
1 files changed, 15 insertions, 1 deletions
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua
index 9f84855..d28a0f9 100644
--- a/.config/nvim/after/plugin/lsp.lua
+++ b/.config/nvim/after/plugin/lsp.lua
@@ -24,7 +24,6 @@ require('mason-lspconfig').setup({
'eslint',
'rust_analyzer',
'lua_ls',
- 'ccls',
'gopls',
'arduino_language_server',
'bashls',
@@ -97,3 +96,18 @@ cmp.setup {
})
}
}
+
+lsp.configure('ccls', {
+ force_setup = true,
+ init_options = {
+ compilationDatabaseDirectory = 'build',
+ index = {
+ threads = 0,
+ },
+ clang = {
+ excludeArgs = { '-frounding-math' }
+ }
+ }
+})
+
+lsp.setup()