diff --git a/examples/tmux.vim b/examples/tmux.vim index 0e9476ec..6f85db5b 100644 --- a/examples/tmux.vim +++ b/examples/tmux.vim @@ -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=/\\\@