13 lines
367 B
Lua
13 lines
367 B
Lua
-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/gitlab_ci_ls.lua
|
|
local cache_dir = vim.uv.os_homedir() .. '/.cache/gitlab-ci-ls/'
|
|
|
|
return {
|
|
cmd = { 'gitlab-ci-ls' },
|
|
filetypes = { 'yaml.gitlab' },
|
|
root_markers = { '.git', '.gitlab-ci.yml' },
|
|
init_options = {
|
|
cache_path = cache_dir,
|
|
log_path = cache_dir .. '/log/gitlab-ci-ls.log',
|
|
},
|
|
}
|