diff options
author | Joe <rrbo@proton.me> | 2023-09-22 17:17:43 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-22 17:17:43 +0200 |
commit | 7c4fb99aa0a460d0ce13efc44117643304cb8a46 (patch) | |
tree | 506a248243f75e79bace2a2a2080a061d266b368 /.config/nvim/after/plugin/lsp.lua | |
parent | up (diff) | |
download | dotfiles-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.lua | 16 |
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() |