diff options
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 | 
