139333Re: Improve context syntax file
- Sep 26, 2013On 2013–09–26 Nikolay Pavlov wrote:
> > Does someone have a solution for the remaining two problems?But I can't add it permanently. The underscore is only part of a
> I guess you need to alter iskeyword for the problem with underscore.
word in between the following blocks.
\unprotect … \protect %% or
\starttexcode … \stoptexcode
> But different comments could be only a result of patchingI don't think patching commetary is the right solution. It's a very
> commetary and other plugins. You can try hacking with
> CursorMoved/CursorMovedI events but likely you will introduce more
> problems then solve.
small plugin only relying on commentstring. Furthermore, vim knows
already that it's inside a Lua snippet (it switched to Lua syntax
highlighting) and it knows that it's inside a Lua comment (it's
highlighted as a comment). So all required information is available
at this point. If I only could make vim change the commentstring in
this case, that would be perfect.
- << Previous post in topic Next post in topic >>