diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-06 21:07:04 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-09-06 21:07:04 +0200 |
commit | 48254ec7adc9cbbc2ff15c606faf062d23d7f200 (patch) | |
tree | e952ed323f861521df1654516765ee98a74aa2ec /scripts/build | |
parent | cd2fded0e0abb6b31fceaca128699eca0f300c63 (diff) | |
download | vim-polyglot-48254ec7adc9cbbc2ff15c606faf062d23d7f200.tar.gz vim-polyglot-48254ec7adc9cbbc2ff15c606faf062d23d7f200.zip |
Add more apache filetypes
Diffstat (limited to 'scripts/build')
-rwxr-xr-x | scripts/build | 6 |
1 files changed, 5 insertions, 1 deletions
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 |