commit c7d8812ca785864bdbdeac72efcd611bfb6e506c
parent e4516a90b121012b8f9482f3a5077a6e5952210c
Author: zeertzjq <zeertzjq@outlook.com>
Date: Sat, 19 Apr 2025 19:10:43 +0800
vim-patch:2398460: runtime(doc): clarify 'includeexpr' is not used for <cfile> (#33540)
fixes: vim/vim#17139
https://github.com/vim/vim/commit/23984602327600b7ef28dcedc772949d5c66b57f
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git 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 |<cfile>|.
+ Note: Not used for |<cfile>|.
If the expression starts with s: or |<SID>|, 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
@@ -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 `<cfile>`.
+--- Note: Not used for `<cfile>`.
---
--- If the expression starts with s: or `<SID>`, then it is replaced with
--- the script ID (`local-function`). Example:
diff --git 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 |<cfile>|.
+ Note: Not used for |<cfile>|.
If the expression starts with s: or |<SID>|, then it is replaced with
the script ID (|local-function|). Example: >vim