diff options
-rw-r--r-- | plugin/polyglot.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/polyglot.vim b/plugin/polyglot.vim index bcf255f0..bb31dc07 100644 --- a/plugin/polyglot.vim +++ b/plugin/polyglot.vim @@ -36,7 +36,7 @@ function! s:guess(lines) abort let spaces_minus_tabs = 0 for line in a:lines - if !len(line) || line =~# '^\s*$' + if !len(line) || line =~# '^\W*$' continue endif |