mirror of
https://github.com/tmate-io/tmate.git
synced 2026-01-23 02:24:06 +00:00
Handle \ at EOL from Daniel Hahler.
This commit is contained in:
parent
778612d152
commit
f5357ed940
1 changed files with 3 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue