summaryrefslogtreecommitdiffstats
path: root/.config/nvim/after/plugin/lsp.lua
diff options
context:
space:
mode:
authorJoe <rrbo@proton.me>2023-09-22 17:17:43 +0200
committerJoe <rrbo@proton.me>2023-09-22 17:17:43 +0200
commit7c4fb99aa0a460d0ce13efc44117643304cb8a46 (patch)
tree506a248243f75e79bace2a2a2080a061d266b368 /.config/nvim/after/plugin/lsp.lua
parentup (diff)
downloaddotfiles-bsd-7c4fb99aa0a460d0ce13efc44117643304cb8a46.tar.gz
dotfiles-bsd-7c4fb99aa0a460d0ce13efc44117643304cb8a46.tar.bz2
dotfiles-bsd-7c4fb99aa0a460d0ce13efc44117643304cb8a46.tar.xz
dotfiles-bsd-7c4fb99aa0a460d0ce13efc44117643304cb8a46.tar.zst
dotfiles-bsd-7c4fb99aa0a460d0ce13efc44117643304cb8a46.zip
up
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()