... Done. ... Added += and -= tests to test51. I've split the "src/" diff into a "src/syntax.c" diff and a "src/testdir/" diff. Let me know if you prefer the...
67392
So8res
so8res@...
Dec 2, 2012 7:27 pm
Unfortunately, this doesn't address my StackOverflow question entirely, nor does it make it possible to avoid the workaround mentioned. This patch allows you...
67393
So8res
so8res@...
Dec 2, 2012 7:31 pm
Correction -- it would have to be a new syntax type, not a new highlight type. You'd have syntax modifier region bold start='92;*' end='\*' highlight Bold...
Typo in synmod.runtime.diff. I failed to notice because my dev runtime files aren't in my $VIMFILES. Fixed below. Sorry for the noise. -- You received this...
67396
So8res
so8res@...
Dec 3, 2012 4:03 am
This is a potential enhancement to 'syn-modifier39; for your consideration. It adds 'syn-removeattrs', which can be used as follows: syntax region Bold...
67397
Marcin Szamotulski
mszamot@...
Dec 3, 2012 10:25 am
Dear vim_dev, I think I have found a bug in BufDelete autocommand. When I delete a buffer, load it (with the :buffer command) and then delete it again (with...
67398
h_east
h.east.727@...
Dec 3, 2012 2:30 pm
Hi, Bram I also confirmed. I got Hayaki's behavior. Best, regards -- Hirohito Higashi -- You received this message from the "vim_dev" maillist. Do not...
67399
Charles Campbell
Charles.E.Campbell@...
Dec 3, 2012 3:02 pm
... Good catch -- I do have "one of those set", but the vim -u NONE -N shouldn't have loaded my .vimrc, and so I'm mystified as to why I didn't run into the...
67400
Hayaki Saito
user@...
Dec 3, 2012 3:14 pm
Hi Bram, ... Hmm, I checked this problem in Debian squeeze and OSX 10.7 environment. My $HOME/.vimrc is here: -- set nocompatible set mouse=a -- There are no...
67401
Andy Wokula
anwoku@...
Dec 3, 2012 6:20 pm
... BufDelete is not executed for unlisted buffers. Should :b {buf} always make buffers listed again? I think "no". Just set 'bl' manually, everything should...
67402
Marcin Szamotulski
mszamot@...
Dec 3, 2012 6:43 pm
... Thank you. I think I should use BufUnload autocommand group then, it is triggered regardless the 'bl' setting. I also found that BufDelete is triggered...
67403
Bram Moolenaar
Bram@...
Dec 3, 2012 7:37 pm
... Thanks. I could reproduce it now. This patch should fix it: ... *************** ... } /* + * Reset the flag indicating option "name" was set. + */ +...
67404
Bram Moolenaar
Bram@...
Dec 3, 2012 7:39 pm
... Hmm, I think "combine" would express better what this is doing: combining the existing attributes with those in the current syntax/highlight item. One can...
67405
Nate Soares
nate@...
Dec 3, 2012 7:52 pm
... SGTM ... Correct. If you agree, I'd like to hijack that syntax to remove the need for "removeattrs" (see the other patch I posted) and to inherit from...
67406
Alex Efros
powerman@...
Dec 3, 2012 10:41 pm
Hi! Is there any reason why "\(\\\n\\\n\)92;@<=U" fail to match this text: \ \ U while "\(\\\n\\\n\)U" will match it and "\(\\\n\)\@<=U" will match it too ...
67407
Benjamin R. Haskell
vim@...
Dec 3, 2012 10:54 pm
... I suspect you're running into (from: :help /\@<= ): """ "\@<=" and "\@<!" check for matches just before what follows. Theoretically these matches could...
67408
Alex Efros
powerman@...
Dec 3, 2012 11:08 pm
Hi! ... You right, but \zs doesn't work for me. I'm writing syntax highlight rules for mkfile (OS Inferno/Plan9 variant of Makefile). It allow any amount of \ ...
67409
Nate Soares
nate@...
Dec 4, 2012 3:13 am
Updated modifier -> combine -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For...
67410
David Fishburn
dfishburn.vim@...
Dec 4, 2012 3:17 am
... Rebuild Vim. Then you can run Vim with gdb with a breakpoint ... For some background. This crash only happens on Ubuntu in my case. Clipboard must have...
67411
John Little
John.B.Little@...
Dec 4, 2012 4:44 am
... I can reproduce it with vim -u NONE -N -c 'so $VIMRUNTIME/plugin/netrwPlugin.vim' ... iiiiiii Maybe your .vim/.netrwhist needs to be set aside. Regards,...
67412
So8res
so8res@...
Dec 4, 2012 6:37 am
Just tried to apply these clean and realized that the doc patch had caught some changes to tags. My mistake, a cleaned one is below. Bram, do you have any...
67413
Ingo Karkat
swdev@...
Dec 4, 2012 12:03 pm
First of all, thank you for all your work on this; your initiative sounds like a great enhancement for syntax plugins! ... Nitpick, but I would find the...
67414
Hayaki Saito
user@...
Dec 4, 2012 1:49 pm
Bram, ... It works! It seems to be a nice solution. Thanks. ... Hayaki Saito user@... ... -- You received this message from the "vim_dev" maillist. Do not...
67415
Ben Fritz
fritzophrenic@...
Dec 4, 2012 4:29 pm
... Maybe just match the \\92;n sequences as a separate syntax item and use nextgroup to enforce ordering. It should work (probably even a little bit faster) and...
67416
Ben Fritz
fritzophrenic@...
Dec 4, 2012 4:44 pm
... I'm not clear on how synIDattr() will work with combined syntax items, or synIDtrans() for that matter. In the example you give, synIDtrans() needs to...
67417
So8res
so8res@...
Dec 4, 2012 5:20 pm
This allows you to ... It's the analog of the :syntax combine option. This makes things much easier on color scheme designers. As in the above example, they...
67418
Ben Fritz
fritzophrenic@...
Dec 4, 2012 5:41 pm
... This seems another useful feature, and since you still only have a single item defining highlighting for a given highlighted item in the text, this change...
67419
So8res
so8res@...
Dec 4, 2012 5:47 pm
... I believe you're correct, though I haven't updated highlight_has_attr / highlight_color to correctly get the color (I only updated syn_id2attr and...
67420
So8res
so8res@...
Dec 4, 2012 6:42 pm
Upon reconsideration, synIDtrans should return a list of IDs that are being used in the current highlight group. This includes all links that also have...