summaryrefslogtreecommitdiff
path: root/lua/config/lsp/settings/sumneko_lua.lua
blob: ebf039f9bc653d1ae9aa41455baf541986275e87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- Config for a Lua language server.

return {
  settings = {

    Lua = {
      diagnostics = {
        globals = { "vim" },
      },
      workspace = {
        library = {
          [vim.fn.expand "$VIMRUNTIME/lua"] = true,
          [vim.fn.stdpath "config" .. "/lua"] = true,
        },
      },
    },
  },
}