summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/polyglot/shebang.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/polyglot/shebang.vim b/autoload/polyglot/shebang.vim
index ef6bc0ed..a8f10348 100644
--- a/autoload/polyglot/shebang.vim
+++ b/autoload/polyglot/shebang.vim
@@ -449,6 +449,11 @@ func! polyglot#shebang#VimDetect()
endif
+ if line1 =~ '^# ' || getline(2) =~ '^# ' || getline(3) =~ '^# ' || getline(4) =~ '^# ' || getline(5) =~ '^# '
+ setf FALLBACK conf
+ return 1
+ endif
+
return 1
endfunc