| 1 | return { |
| 2 | cmd = { |
| 3 | "lua-language-server", |
| 4 | }, |
| 5 | filetypes = { |
| 6 | "lua", |
| 7 | }, |
| 8 | root_markers = { |
| 9 | ".git", |
| 10 | ".luacheckrc", |
| 11 | ".luarc.json", |
| 12 | ".luarc.jsonc", |
| 13 | ".stylua.toml", |
| 14 | "selene.toml", |
| 15 | "selene.yml", |
| 16 | "stylua.toml", |
| 17 | }, |
| 18 | settings = { |
| 19 | Lua = { |
| 20 | diagnostics = { |
| 21 | globals = { "vim", "MiniPick", "MiniSnippets" } |
| 22 | }, |
| 23 | }, |
| 24 | }, |
| 25 | |
| 26 | single_file_support = true, |
| 27 | log_level = vim.lsp.protocol.MessageType.Warning, |
| 28 | } |