My simple neovim config
1return {
2 settings = {
3 Lua = {
4 runtime = {
5 -- Tell the language server which version of Lua you're using (most likely LuaJIT in the case of Neovim)
6 version = "LuaJIT",
7 },
8 diagnostics = {
9 -- Get the language server to recognize the `vim` global and `awesome`
10 globals = { "vim", "use", "beautiful", "awful" },
11 },
12 workspace = {
13 -- Make the server aware of Neovim runtime files
14 library = vim.api.nvim_get_runtime_file("", true),
15 checkThirdParty = false,
16 },
17 hint = {
18 enable = true,
19 },
20 telemetry = {
21 enable = false,
22 },
23 },
24 },
25}