From 2e7e1ce219b43bb74f67875200dd4b68758ffd27 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 16 Jul 2024 19:04:27 -0400 Subject: back to nixvim again --- nixvim/filetypes/github-action.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nixvim/filetypes/github-action.nix (limited to 'nixvim/filetypes/github-action.nix') diff --git a/nixvim/filetypes/github-action.nix b/nixvim/filetypes/github-action.nix new file mode 100644 index 0000000..c057de0 --- /dev/null +++ b/nixvim/filetypes/github-action.nix @@ -0,0 +1,8 @@ +{ + # yes this is very silly + # but it makes sure actionlint won't lint *every* yaml file + filetype.pattern = { + ".*/.github/workflows/.*%.yml" = "yaml.githubaction"; + ".*/.github/workflows/.*%.yaml" = "yaml.githubaction"; + }; +} -- cgit v1.2.3