Files
dotfiles/nvim/lsp/gitlabcils.lua
2026-03-11 11:20:38 +03:00

13 lines
358 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",
},
}