aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/configs/settings/lua_ls.lua
blob: de4124c2628950f13645bbab06a136a9bf7a2f65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
return {
  settings = {
    Lua = {
      diagnostics = {
			globals = { "vim " },
    },
    workspace = {
			library = {
	  		[vim.fn.expand "$VIMRUNTIME/lua"] = true,
	  		[vim.fn.expand "$VIMRUNTIME/lua/vim/lsp"] = true,
	  		[vim.fn.stdpath "data" .. "/lazy/ui/nvchad_types"] = true,
	  		[vim.fn.stdpath "data" .. "/lazy/lazy.nvim/lua/lazy"] = true,
			},
			maxPreload = 100000,
			preloadFileSize = 10000,
    	}
    }
  }
}