summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/after/plugin/lsp.lua26
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{}