mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-12 21:43:49 -05:00
Fix detecting conf filetype, closes #641
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user