From 310fdf8de53d98ddd3a56936c131186e25814f0f Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 29 Oct 2024 22:37:49 -0400 Subject: use lz.n (#69) * remove bufferline & some cmp sources * factor things out of after/ folder This is bad practice or something * make sure ftdetect plugins aren't loaded multiple times * use lz.n * mini.pairs -> mini.surround * flake: cleanup checks * ftplugin: enforce spaces in nix files --- ftdetect/githubaction.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'ftdetect/githubaction.lua') diff --git a/ftdetect/githubaction.lua b/ftdetect/githubaction.lua index a6e11cf..ca0e589 100644 --- a/ftdetect/githubaction.lua +++ b/ftdetect/githubaction.lua @@ -1,4 +1,9 @@ -- this allows `actionlint` to only yaml files that are actions +if vim.g.did_load_githubaction_plugin then + return +end + +vim.g.did_load_githubaction_plugin = true vim.filetype.add({ pattern = { [".*/.github/workflows/.*%.yml"] = "yaml.githubaction", -- cgit v1.2.3