From da5885bc462a23a1a4c62778cb7acdb7363bdfde Mon Sep 17 00:00:00 2001 From: Roel de Cort Date: Tue, 28 May 2024 22:34:32 +0200 Subject: [PATCH] add bicep file type --- config/file_types.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config/file_types.nix b/config/file_types.nix index 9209335..1a017c0 100644 --- a/config/file_types.nix +++ b/config/file_types.nix @@ -11,4 +11,13 @@ command = "set ft=terraform"; } ]; + + files."ftdetect/bicepft.lua".autoCmd = [ + { + group = "filetypes"; + event = ["BufRead" "BufNewFile"]; + pattern = ["*.bicep" "*.bicepparam"]; + command = "set ft=bicep"; + } + ]; }