neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 7ef7f82c5c8e51aa61f8a798907669226a99726b
parent ded578625219d5056fdacdba4b04f0d5bf4fbe9d
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Sun,  9 Nov 2025 07:48:50 +0800

vim-patch:c28b73d: runtime(doc): Improve :help synconcealed() description

closes: vim/vim#18698

https://github.com/vim/vim/commit/c28b73d34990e574ebd7542fe0adb789fc0bd674

Co-authored-by: Doug Kearns <dougkearns@gmail.com>

Diffstat:
Mruntime/doc/vimfn.txt | 2+-
Mruntime/lua/vim/_meta/vimfn.lua | 2+-
Msrc/nvim/eval.lua | 2+-
3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt @@ -11105,7 +11105,7 @@ synIDtrans({synID}) *synIDtrans()* (`integer`) synconcealed({lnum}, {col}) *synconcealed()* - The result is a |List| with currently three items: + The result is a |List| with three items: 1. The first item in the list is 0 if the character at the position {lnum} and {col} is not part of a concealable region, 1 if it is. {lnum} is used like with |getline()|. diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua @@ -10128,7 +10128,7 @@ function vim.fn.synIDattr(synID, what, mode) end --- @return integer function vim.fn.synIDtrans(synID) end ---- The result is a |List| with currently three items: +--- The result is a |List| with three items: --- 1. The first item in the list is 0 if the character at the --- position {lnum} and {col} is not part of a concealable --- region, 1 if it is. {lnum} is used like with |getline()|. diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua @@ -12215,7 +12215,7 @@ M.funcs = { synconcealed = { args = 2, desc = [=[ - The result is a |List| with currently three items: + The result is a |List| with three items: 1. The first item in the list is 0 if the character at the position {lnum} and {col} is not part of a concealable region, 1 if it is. {lnum} is used like with |getline()|.