From 48254ec7adc9cbbc2ff15c606faf062d23d7f200 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 6 Sep 2020 21:07:04 +0200 Subject: Add more apache filetypes --- scripts/build | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/build') diff --git a/scripts/build b/scripts/build index 197b4ea3..f688c28f 100755 --- a/scripts/build +++ b/scripts/build @@ -492,7 +492,11 @@ def generate_ftdetect(packages, heuristics) if filename[0] == "." filename = "{.,}" + filename[1..] end - autocommands << " au BufNewFile,BufRead #{filename} #{set_command}\n" + if filename[-1] == "*" + autocommands << " au BufNewFile,BufRead #{filename} call s:StarSetf('#{name}')\n" + else + autocommands << " au BufNewFile,BufRead #{filename} #{set_command}\n" + end end end -- cgit v1.2.3