diff options
Diffstat (limited to '.config/nvim/lua/lsp.lua')
| -rw-r--r-- | .config/nvim/lua/lsp.lua | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.config/nvim/lua/lsp.lua b/.config/nvim/lua/lsp.lua new file mode 100644 index 0000000..66574b1 --- /dev/null +++ b/.config/nvim/lua/lsp.lua @@ -0,0 +1,23 @@ +local lsp = require('lspconfig') +lsp.lua_ls.setup { + Lua = { + runtime = { + version = "LuaJIT", + }, + telementry = { + enable = false, + } + } +} + +lsp.ccls.setup { + init_options = { + compilationDatabaseDirectory = "build", + index = { + threads = 0, + }, + clang = { + excludeArgs = { "-frounding-math" }, + }, + } +} |
