We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
yaml.gitlab
1 parent 0b962a6 commit bdb6420Copy full SHA for bdb6420
lua/core/event.lua
@@ -49,6 +49,14 @@ vim.api.nvim_create_autocmd("BufEnter", {
49
end,
50
})
51
52
+-- create custom filetype for gitlab_ci_ls
53
+vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, {
54
+ pattern = "*.gitlab-ci*.{yml,yaml}",
55
+ callback = function()
56
+ vim.bo.filetype = "yaml.gitlab"
57
+ end,
58
+})
59
+
60
-- auto close some filetype with <q>
61
vim.api.nvim_create_autocmd("FileType", {
62
pattern = {
0 commit comments