Re: [vim/vim] vimscript's own syntax highlighter ignores line continuations (#379)

12 views
Skip to first unread message

meta-ed

unread,
May 25, 2023, 5:08:39 PM5/25/23
to vim/vim, Subscribed

A workaround for this problem was posted at https://vi.stackexchange.com/questions/38073. I hoped it would be helpful for me to link it here.


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/379/1563508250@github.com>

Christian Brabandt

unread,
May 26, 2023, 3:48:05 AM5/26/23
to vim/vim, Subscribed

you should rather directly copy that part here. So copying it here verbosely, what was suggested:

syn region vimSynRegion contained keepend matchgroup=vimGroupName start="\h\w*" skip="\n\s*\\" end="|\|$" contains=@vimSynRegGroup This basically replaces skip="\\\\\|\\|" with skip="\n\s*\\"

I have no idea if this makes sense, I leave this to Charles to assess this. @cecamp


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/379/1563955756@github.com>

dkearns

unread,
Feb 22, 2024, 9:44:33 AMFeb 22
to vim/vim, Subscribed

This was fixed by 21ce159.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/379/1959599493@github.com>

dkearns

unread,
Feb 22, 2024, 9:44:34 AMFeb 22
to vim/vim, Subscribed

Closed #379 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/379/issue_event/11892219504@github.com>

Reply all
Reply to author
Forward
0 new messages