Skip to content

Commit 7da66c1

Browse files
mkvoyavivien
authored andcommitted
fix bracket matching mess-up caused by highlights
1 parent 70f19ba commit 7da66c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/linuxsty.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function s:LinuxHighlighting()
7878
highlight default link LinuxError ErrorMsg
7979

8080
syn match LinuxError / \+\ze\t/ " spaces before tab
81-
syn match LinuxError /\%81v.\+/ " virtual column 81 and more
81+
syn match LinuxError /\%>80v[^()\{\}\[\]<>]\+/ " virtual column 81 and more
8282

8383
" Highlight trailing whitespace, unless we're in insert mode and the
8484
" cursor's placed right after the whitespace. This prevents us from having

0 commit comments

Comments
 (0)