From c7d8812ca785864bdbdeac72efcd611bfb6e506c Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Sat, 19 Apr 2025 19:10:43 +0800 Subject: [PATCH] vim-patch:2398460: runtime(doc): clarify 'includeexpr' is not used for (#33540) fixes: vim/vim#17139 https://github.com/vim/vim/commit/23984602327600b7ef28dcedc772949d5c66b57f Co-authored-by: Christian Brabandt --- runtime/doc/options.txt | 2 +- runtime/lua/vim/_meta/options.lua | 2 +- src/nvim/options.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index da4d1e7f20..c08813ef04 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3419,7 +3419,7 @@ A jump table for the options with a short description can be found at |Q_op|. < Also used for the |gf| command if an unmodified file name can't be found. Allows doing "gf" on the name after an 'include' statement. - Also used for ||. + Note: Not used for ||. If the expression starts with s: or ||, then it is replaced with the script ID (|local-function|). Example: >vim diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 78bce262cd..df5b3960db 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -3281,7 +3281,7 @@ vim.go.inc = vim.go.include --- --- Also used for the `gf` command if an unmodified file name can't be --- found. Allows doing "gf" on the name after an 'include' statement. ---- Also used for ``. +--- Note: Not used for ``. --- --- If the expression starts with s: or ``, then it is replaced with --- the script ID (`local-function`). Example: diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 287bf49dad..b70799c625 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -4462,7 +4462,7 @@ local options = { < Also used for the |gf| command if an unmodified file name can't be found. Allows doing "gf" on the name after an 'include' statement. - Also used for ||. + Note: Not used for ||. If the expression starts with s: or ||, then it is replaced with the script ID (|local-function|). Example: >vim