diff options
Diffstat (limited to 'ftdetect/githubaction.lua')
| -rw-r--r-- | ftdetect/githubaction.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ftdetect/githubaction.lua b/ftdetect/githubaction.lua new file mode 100644 index 0000000..a6e11cf --- /dev/null +++ b/ftdetect/githubaction.lua @@ -0,0 +1,7 @@ +-- this allows `actionlint` to only yaml files that are actions +vim.filetype.add({ + pattern = { + [".*/.github/workflows/.*%.yml"] = "yaml.githubaction", + [".*/.github/workflows/.*%.yaml"] = "yaml.githubaction", + }, +}) |
