lsp fix for yaml and gitlab ci

This commit is contained in:
Dmitri 2026-04-22 15:19:54 +02:00
parent d7d344af1b
commit bd57681b82
2 changed files with 10 additions and 0 deletions

View File

@ -20,3 +20,11 @@ vim.api.nvim_create_autocmd("BufReadPost", {
end
end,
})
-- used just to make lsp for gitlabci for work
vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
pattern = "*.gitlab-ci*.{yml,yaml}",
callback = function()
vim.bo.filetype = "yaml.gitlab"
end,
})

View File

@ -108,6 +108,8 @@ return {
ts_ls = {},
gopls = {},
postgres_lsp = {},
gitlab_ci_ls = {},
yamlls = {},
lua_ls = {
settings = {
Lua = {