Vim script syntax highlighting with line continuations

5 views
Skip to first unread message

Eric Pruitt

unread,
Mar 20, 2022, 8:53:48 PM3/20/22
to vim...@googlegroups.com

Is there a Vim script syntax highlighting file that can handle statements split across multiple lines? For example, consider the following:

syn region tmuxUninterpolatedString start=+'+ skip=+\\$+ ...

I would like to split this across multiple lines, to it looks something like this:

syn region tmuxUninterpolatedString
\ start=+'+
\ skip=+\\$+
...

Unfortunately this breaks syntax highlighting when using Vim, and the arguments for "start" and "skip" are not highlighted correctly.

Eric

Reply all
Reply to author
Forward
0 new messages