all repos

dotfiles @ 0aafc4d

my dotfiles

config/nvim/lua/lsp/providers/sumneko_lua.lua (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
return {
  settings = {
    Lua = {
      diagnostics = { globals = { "vim" } },
      workspace = {
        library = {
          [vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
          [vim.fn.expand "$VIMRUNTIME/lua"] = true,
        },
        maxPreload = 100000,
        preloadFileSize = 10000,
      },
    },
  },
}