From 94ae891bf3c8aa873a2541b1d57d3cb2e558d7b7 Mon Sep 17 00:00:00 2001 From: Joe Date: Fri, 22 Sep 2023 17:31:12 +0200 Subject: up --- .config/nvim/after/plugin/lsp.lua | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to '.config/nvim/after') 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{} -- cgit v1.2.3