lsp fix for yaml and gitlab ci
This commit is contained in:
parent
d7d344af1b
commit
bd57681b82
@ -20,3 +20,11 @@ vim.api.nvim_create_autocmd("BufReadPost", {
|
|||||||
end
|
end
|
||||||
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,
|
||||||
|
})
|
||||||
|
|||||||
@ -108,6 +108,8 @@ return {
|
|||||||
ts_ls = {},
|
ts_ls = {},
|
||||||
gopls = {},
|
gopls = {},
|
||||||
postgres_lsp = {},
|
postgres_lsp = {},
|
||||||
|
gitlab_ci_ls = {},
|
||||||
|
yamlls = {},
|
||||||
lua_ls = {
|
lua_ls = {
|
||||||
settings = {
|
settings = {
|
||||||
Lua = {
|
Lua = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user