diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 439905a6af..664309d8d5 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1506,7 +1506,7 @@ A jump table for the options with a short description can be found at |Q_op|. ] tag completion t same as "]" f scan the buffer names (as opposed to buffer contents) - f{func} call the function {func}. Multiple "f" flags may be specified. + f{func} call the function {func}. Multiple "f" flags may be specified. Refer to |complete-functions| for details on how the function is invoked and what it should return. The value can be the name of a function or a |Funcref|. For |Funcref| values, @@ -1541,9 +1541,9 @@ A jump table for the options with a short description can be found at |Q_op|. An optional match limit can be specified for a completion source by appending a caret ("^") followed by a {count} to the source flag. For example: ".^9,w,u,t^5" limits matches from the current buffer - to 9 and from tags to 5. Other sources remain unlimited. - The match limit takes effect only during forward completion (CTRL-N) - and is ignored during backward completion (CTRL-P). + to 9 and from tags to 5. Other sources remain unlimited. + Note: The match limit takes effect only during forward completion + (CTRL-N) and is ignored during backward completion (CTRL-P). *'completefunc'* *'cfu'* 'completefunc' 'cfu' string (default "") diff --git a/runtime/lua/vim/_meta/options.lua b/runtime/lua/vim/_meta/options.lua index 6f599d36fc..a914ed7e5a 100644 --- a/runtime/lua/vim/_meta/options.lua +++ b/runtime/lua/vim/_meta/options.lua @@ -1027,7 +1027,7 @@ vim.bo.cms = vim.bo.commentstring --- ] tag completion --- t same as "]" --- f scan the buffer names (as opposed to buffer contents) ---- f{func} call the function {func}. Multiple "f" flags may be specified. +--- f{func} call the function {func}. Multiple "f" flags may be specified. --- Refer to `complete-functions` for details on how the function --- is invoked and what it should return. The value can be the --- name of a function or a `Funcref`. For `Funcref` values, @@ -1062,9 +1062,9 @@ vim.bo.cms = vim.bo.commentstring --- An optional match limit can be specified for a completion source by --- appending a caret ("^") followed by a {count} to the source flag. --- For example: ".^9,w,u,t^5" limits matches from the current buffer ---- to 9 and from tags to 5. Other sources remain unlimited. ---- The match limit takes effect only during forward completion (CTRL-N) ---- and is ignored during backward completion (CTRL-P). +--- to 9 and from tags to 5. Other sources remain unlimited. +--- Note: The match limit takes effect only during forward completion +--- (CTRL-N) and is ignored during backward completion (CTRL-P). --- --- @type string vim.o.complete = ".,w,b,u,t" diff --git a/src/nvim/options.lua b/src/nvim/options.lua index 17385d7b2a..d0d62debdc 100644 --- a/src/nvim/options.lua +++ b/src/nvim/options.lua @@ -1438,7 +1438,7 @@ local options = { ] tag completion t same as "]" f scan the buffer names (as opposed to buffer contents) - f{func} call the function {func}. Multiple "f" flags may be specified. + f{func} call the function {func}. Multiple "f" flags may be specified. Refer to |complete-functions| for details on how the function is invoked and what it should return. The value can be the name of a function or a |Funcref|. For |Funcref| values, @@ -1473,9 +1473,9 @@ local options = { An optional match limit can be specified for a completion source by appending a caret ("^") followed by a {count} to the source flag. For example: ".^9,w,u,t^5" limits matches from the current buffer - to 9 and from tags to 5. Other sources remain unlimited. - The match limit takes effect only during forward completion (CTRL-N) - and is ignored during backward completion (CTRL-P). + to 9 and from tags to 5. Other sources remain unlimited. + Note: The match limit takes effect only during forward completion + (CTRL-N) and is ignored during backward completion (CTRL-P). ]=], full_name = 'complete', list = 'onecomma',