Upd with resolved diagnostic

This commit is contained in:
Valeriy Filippov
2026-03-12 11:34:46 +03:00
parent fdcab36e0f
commit 31bc0891fb
5 changed files with 20 additions and 9 deletions

View File

@@ -1,12 +1,13 @@
-- 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",
},
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",
},
}