On Mi, 05 Nov 2014, Bram Moolenaar wrote:
> > this problem is not mentioned in the latest todo list. Is that no issue
> > for your?
>
> As I already mentioned: It might break some things.
Currently, this would not affect many syntax files:
#v+
chrisbra@debian ~/code/vim/runtime/syntax - % grep -i 'containedin=ALL\>' *
ada.vim: syntax match adaLineError "\(^.\{79}\)\@<=." contains=ALL
containedin=ALL
cobol.vim: syn match cobolBadLine "\%73c.*" containedin=ALL
desktop.vim:syn match dtALocale /\[.\{-}\]\s*=\@=/ containedin=ALL
dnsmasq.vim:syn match DnsmasqTrailSpace "[ \t]\+$" containedin=ALL
rcs.vim:syn match rcsEOFError ".\%$" containedin=ALL
redif.vim:syntax match redifComment /^#.*/ containedin=ALL display
#v-
>
> The flag does apply to "nextgroup", as documented. That's why it checks
> current_next_flags.
>
> Also, the rules become too complex, making a difference for a group that
> has a "containedin" argument changes how the white space before it
> matches. That's not what someone expects.
Well my expectation is differently. If I specify containedin=ALL I
usually want it to match everywhere. Even if some syntax rules specifies
a skipwhite rule.
In any case, it would be nice to have some possibility to match some
tokens and have them concealed. Either through the use of syntax
highlighting or through the matchadd() functions (which do not allow to
conceal characters currently) or by the use of the 'listchars' option,
for which a patch has also been posted
https://groups.google.com/d/msg/vim_dev/dIQHjW1g92s/CtBo6MfNXN4J
(but which only applies to space characters and doesn't allow to conceal
arbitrary characters)
Best,
Christian
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.