Skip to content

Commit

Permalink
Handle \ at EOL from Daniel Hahler.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Aug 15, 2015
1 parent 778612d commit f5357ed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/tmux.vim
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,9 @@ syn match tmuxOptions /\s-\a\+/ display
syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display

syn region tmuxComment start=/#/ end=/$/ contains=tmuxTodo display oneline
" Comments can span multiple lines, when the newline is escaped
" (with a single) backslash at the end.
syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
syn region tmuxString start=/"/ end=/"/ display oneline
syn region tmuxString start=/'/ end=/'/ display oneline

Expand Down

0 comments on commit f5357ed

Please sign in to comment.