Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add comment matching

Lines that start with a pound (#) are comments.
  • Loading branch information...
commit 020f5be7c91db59fad6d4a493c458f41c30c53ae 1 parent a6c2068
Zoran Zaric authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  syntax/chords.vim
2  syntax/chords.vim
View
@@ -57,9 +57,11 @@ if b:tabs_enable
syntax match tab /\v\|.*\|/ contained contains=tab_elem,tab_delim
syntax match tab_elem /[^-|]/ contained
syntax match tab_delim /|/ contained
+ syntax match tab_comment "\s*#.*$"
highlight link tab_line comment
highlight link tab comment
highlight link tab_elem string
highlight link tab_delim special
+ highlight link tab_comment comment
endif
Please sign in to comment.
Something went wrong with that request. Please try again.