Sunday, March 20, 2022

Vim script syntax highlighting with line continuations

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

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20220321005342.GA2451%40sinister.lan.codevat.com.

No comments:

Post a Comment