neovim: associate gitlab-ci files with gitlab-ci-ls

This commit is contained in:
John Bowdre 2025-01-03 10:55:09 -06:00
parent 7480f03ef2
commit a0447808fa
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -20,6 +20,13 @@
command = "setlocal spell spelllang=en wrap linebreak ts=2 sw=2 sts=2";
}
# Gitlab CI
{
event = [ "BufRead" "BufNewFile" ];
pattern = "*.gitlab-ci*.{yml,yaml}";
callback = { __raw = "function() vim.bo.filetype = 'yaml.gitlab' end"; };
}
];
}