Vim script syntax highlighting with line continuations

5 katselukertaa
Siirry ensimmäiseen lukemattomaan viestiin

Eric Pruitt

lukematon,
20.3.2022 klo 20.53.4820.3.2022
vastaanottaja 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

Vastaa kaikille
Vastaa kirjoittajalle
Välitä
0 uutta viestiä