diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-04-27 06:31:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-27 06:31:55 +0800 |
commit | 694756252b057ceb72b86f3418f3e4cb227a17ba (patch) | |
tree | 3ae1501225c9a3b1d886ac94cee75e9ec52411f7 /runtime/lua/vim | |
parent | 9b8a0755390b7eb3ad369f3a0a42eb9aecb8cbe2 (diff) | |
parent | e81eb34aa11f45315725ca2876b81b28d1105978 (diff) | |
download | rneovim-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 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/_meta/vimfn.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index d010673d24..02d5eaf575 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -9752,6 +9752,10 @@ function vim.fn.synIDtrans(synID) end --- 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|. +--- --- @param lnum integer --- @param col integer --- @return {[1]: integer, [2]: string, [3]: integer} |