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