summaryrefslogtreecommitdiff
path: root/.config/nvim/lsp/lua_ls.lua
blob: 0f55a2192f06478dd267c86551e545249c6ff13e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
-- https://github.com/luals/lua-language-server

return {
    cmd = {
        'lua-language-server',
        '--logpath=' .. vim.fn.expand('~/.cache/nvim/lua-language-server/log'),
    },
    filetypes = { 'lua' },
    root_markers = {
        '.luarc.json',
        '.luarc.jsonc',
        '.luacheckrc',
        '.stylua.toml',
        'stylua.toml',
        'selene.toml',
        'selene.yml',
        '.git',
    },
}