diff options
author | Marco Hinz <mh.codebro@gmail.com> | 2019-04-03 19:57:48 +0200 |
---|---|---|
committer | Marco Hinz <mh.codebro@gmail.com> | 2019-04-04 20:24:39 +0200 |
commit | 6b75d9f865b9a1ef56dbf9e4485aaf133efa2f22 (patch) | |
tree | e535cda127dbdcfe36ea2003d4f8247fdabd4719 /runtime | |
parent | fb555c6898e8deddf6191144b18b382fa8decf99 (diff) | |
download | rneovim-6b75d9f865b9a1ef56dbf9e4485aaf133efa2f22.tar.gz rneovim-6b75d9f865b9a1ef56dbf9e4485aaf133efa2f22.tar.bz2 rneovim-6b75d9f865b9a1ef56dbf9e4485aaf133efa2f22.zip |
vim-patch:8.1.0218: cannot add matches to another window
Problem: Cannot add matches to another window. (Qiming Zhao)
Solution: Add the "window" argument to matchadd() and matchaddpos().
(closes vim/vim#3260)
https://github.com/vim/vim/commit/95e51470f10e1ddcc4b2ce53e4f7ff7aa2e58417
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/eval.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 1f83d0de54..db278b2fb0 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -5554,7 +5554,7 @@ match({expr}, {pat} [, {start} [, {count}]]) *match()* the pattern. 'smartcase' is NOT used. The matching is always done like 'magic' is set and 'cpoptions' is empty. - *matchadd()* *E798* *E799* *E801* + *matchadd()* *E798* *E799* *E801* *E957* matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]]) Defines a pattern to be highlighted in the current window (a "match"). It will be highlighted with {group}. Returns an @@ -5593,6 +5593,8 @@ matchadd({group}, {pattern}[, {priority}[, {id} [, {dict}]]]) conceal Special character to show instead of the match (only for |hl-Conceal| highlighed matches, see |:syn-cchar|) + window Instead of the current window use the + window with this number or window ID. The number of matches is not limited, as it is the case with the |:match| commands. |