Skip to content

Commit 3bcbf14

Browse files
Mark Woodsxuhdev
authored andcommitted
Fix pattern to highlight lines exceeding max len
Update pattern to ignore end-of-line, and avoid marking lines that are exactly max_line_length long as if they have exceeded max_line_length.
1 parent c0bc801 commit 3bcbf14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugin/editorconfig.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ function! s:ApplyConfig(config) " {{{1
649649
endif
650650
endfor
651651
call matchadd('ColorColumn',
652-
\ '\%' . (l:max_line_length + 1) . 'v', 100)
652+
\ '\%' . (l:max_line_length + 1) . 'v.', 100)
653653
endif
654654
endif
655655
endif

0 commit comments

Comments
 (0)