aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-27 06:31:55 +0800
committerGitHub <noreply@github.com>2024-04-27 06:31:55 +0800
commit694756252b057ceb72b86f3418f3e4cb227a17ba (patch)
tree3ae1501225c9a3b1d886ac94cee75e9ec52411f7 /src
parent9b8a0755390b7eb3ad369f3a0a42eb9aecb8cbe2 (diff)
parente81eb34aa11f45315725ca2876b81b28d1105978 (diff)
downloadrneovim-694756252b057ceb72b86f3418f3e4cb227a17ba.tar.gz
rneovim-694756252b057ceb72b86f3418f3e4cb227a17ba.tar.bz2
rneovim-694756252b057ceb72b86f3418f3e4cb227a17ba.zip
Merge pull request #28529 from zeertzjq/vim-fe1e2b5e2d65
vim-patch: clarify syntax vs matching mechanism
Diffstat (limited to 'src')
-rw-r--r--src/nvim/eval.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua
index ae42b330a9..65389ede99 100644
--- a/src/nvim/eval.lua
+++ b/src/nvim/eval.lua
@@ -11621,6 +11621,10 @@ M.funcs = {
synconcealed(lnum, 4) [1, 'X', 2]
synconcealed(lnum, 5) [1, 'X', 2]
synconcealed(lnum, 6) [0, '', 0]
+
+ Note: Doesn't consider |matchadd()| highlighting items,
+ since syntax and matching highlighting are two different
+ mechanisms |syntax-vs-match|.
]=],
name = 'synconcealed',
params = { { 'lnum', 'integer' }, { 'col', 'integer' } },