Additional tweaks for #25

Further improvements to README as well.
This commit is contained in:
Reed Esau
2015-01-10 12:58:15 -07:00
parent ad195ab208
commit 72d0a6d5f7
2 changed files with 14 additions and 8 deletions

View File

@@ -103,7 +103,7 @@ fun! s:maybe_enable_autoformat()
" either of which greenlights a whitelist check
if !l:found_empty
if synstack(l:line, 1) == [] ||
\ (l:last_col > 2 && synstack(l:line, l:last_col-1) == [])
\ (l:last_col > 1 && synstack(l:line, l:last_col-1) == [])
let l:found_empty = 1
en
en