diff options
author | Joe <rrbo@proton.me> | 2023-09-22 17:31:12 +0200 |
---|---|---|
committer | Joe <rrbo@proton.me> | 2023-09-22 17:31:12 +0200 |
commit | 94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7 (patch) | |
tree | 85fbb0d4680b72d3d3d2392c1ce93018fa52562e /.config | |
parent | up (diff) | |
download | dotfiles-bsd-94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7.tar.gz dotfiles-bsd-94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7.tar.bz2 dotfiles-bsd-94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7.tar.xz dotfiles-bsd-94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7.tar.zst dotfiles-bsd-94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7.zip |
up
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/after/plugin/lsp.lua | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/.config/nvim/after/plugin/lsp.lua b/.config/nvim/after/plugin/lsp.lua index d28a0f9..57d747d 100644 --- a/.config/nvim/after/plugin/lsp.lua +++ b/.config/nvim/after/plugin/lsp.lua @@ -97,17 +97,19 @@ cmp.setup { } } -lsp.configure('ccls', { - force_setup = true, - init_options = { - compilationDatabaseDirectory = 'build', - index = { - threads = 0, - }, - clang = { - excludeArgs = { '-frounding-math' } - } - } -}) +local lspconfig = require'lspconfig' +lspconfig.ccls.setup { + init_options = { + compilationDatabaseDirectory = "build"; + index = { + threads = 0; + }; + clang = { + excludeArgs = { "-frounding-math"} ; + }; + } +} lsp.setup() + +require'lspconfig'.ccls.setup{} |