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,
|
||||
})
|
||||
|
||||
-- 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 = {},
|
||||
gopls = {},
|
||||
postgres_lsp = {},
|
||||
gitlab_ci_ls = {},
|
||||
yamlls = {},
|
||||
lua_ls = {
|
||||
settings = {
|
||||
Lua = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user