diff options
-rw-r--r-- | ftdetect/polyglot.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 6794397b..c98c27d7 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -2735,6 +2735,9 @@ if !has_key(s:disabled_packages, 'autoindent') if s:guess(getline(1, 32)) return endif + if s:guess(getline(1, 1024)) + return + endif let pattern = polyglot#sleuth#GlobForFiletype(&filetype) if len(pattern) == 0 return |