diff --git a/autoload/vimtex/format.vim b/autoload/vimtex/format.vim index 74a223a..494a018 100644 --- a/autoload/vimtex/format.vim +++ b/autoload/vimtex/format.vim @@ -49,7 +49,7 @@ function! vimtex#format#formatexpr() " {{{1 normal! x endif - for l:current in range(l:bottom, l:top+1, -1) + for l:current in range(l:bottom, l:top, -1) let l:line = getline(l:current) if l:line =~# s:border_end