aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/lsp.lua
blob: 66574b14e349c8b3650e0001c168e14f7dabf4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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" },
    },
  }
}