From 00d5ec09d45d09451b21ab58054e40f593577b15 Mon Sep 17 00:00:00 2001 From: seth Date: Sun, 14 Jul 2024 12:59:02 -0400 Subject: efmls -> nvim-lint also only use native lsps for formatting --- ftdetect/githubaction.lua | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ftdetect/githubaction.lua (limited to 'ftdetect/githubaction.lua') 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", + }, +}) -- cgit v1.2.3