On 6 November 2013, Bram Moolenaar <[email protected]> wrote:
>
> lcd wrote:
>
> > Hi Bram,
> >
> > The patch below adds a minor clarification to the docs for
> > matchadd(), as discussed a few days ago on vim_use.
>
> Thanks. I think it's also good to explicitly say that 'magic' and
> 'ignorecase' are not used.
Sure, updated patch included below.
/lcd
diff -r 87ef9ff527dd runtime/doc/eval.txt
--- a/runtime/doc/eval.txt Tue Nov 05 17:40:53 2013 +0100
+++ b/runtime/doc/eval.txt Wed Nov 06 10:33:49 2013 +0200
@@ -4227,7 +4227,10 @@
Defines a pattern to be highlighted in the current window (a
"match"). It will be highlighted with {group}. Returns an
identification number (ID), which can be used to delete the
- match using |matchdelete()|.
+ match using |matchdelete()|. Matching is case sensitive and
+ magic, unless case sensitivity or magicness are explicitly
+ overridden by {pattern} (in particular 'ignorecase',
+ 'smartcase', and 'magic' settings are not used).
The optional {priority} argument assigns a priority to the
match. A match with a high priority will have its
--
--
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/groups/opt_out.