Browse files

Add comment matching

Lines that start with a pound (#) are comments.
  • Loading branch information...
1 parent a6c2068 commit 020f5be7c91db59fad6d4a493c458f41c30c53ae @zoranzaric committed Apr 19, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 syntax/chords.vim
View
2 syntax/chords.vim
@@ -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

0 comments on commit 020f5be

Please sign in to comment.