Fix detecting conf filetype, closes #641

This commit is contained in:
Adam Stankiewicz
2020-12-29 23:40:05 +01:00
parent 47dcae9131
commit 1150adc4db
4 changed files with 15 additions and 10 deletions

View File

@@ -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