summaryrefslogtreecommitdiffstats
path: root/lua/user/core/lsp/settings/sumneko_lua.lua
blob: d7e82b42e9eebbc32c2496288d05d3362ddbcabe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
return {
  settings = {

    Lua = {
      diagnostics = {
        globals = { "vim" }, -- teach about vim global variable
      },
      workspace = {
        library = {
          [vim.fn.expand("$VIMRUNTIME/lua")] = true,
          [vim.fn.stdpath("config") .. "/lua"] = true,
        },
      },
    },
  },
}