Files
dotfiles/nvim/lsp/gitlabcils.lua
2026-03-12 11:34:46 +03:00

14 lines
417 B
Lua

-- https://github.com/neovim/nvim-lspconfig/blob/master/lsp/gitlab_ci_ls.lua
---@diagnostic disable-next-line: undefined-field
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",
},
}