Skip to content

Commit 146ba03

Browse files
committed
Fix unicode support partially
1 parent 85d31e2 commit 146ba03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indent/python.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ function! GetPythonPEPFormat(lnum, count)
500500
return 1
501501
endif
502502

503-
if len(getline(a:lnum)) <= l:tw && l:count == 1 " No need for gq
503+
if virtcol('$') <= l:tw + 1 && l:count == 1 " No need for gq
504504
return 1
505505
endif
506506

0 commit comments

Comments
 (0)