mirror of
https://github.com/neovim/neovim.git
synced 2026-07-15 22:00:40 +00:00
9
runtime/lua/vim/_meta/vimfn.gen.lua
generated
9
runtime/lua/vim/_meta/vimfn.gen.lua
generated
@@ -5538,8 +5538,8 @@ function vim.fn.lispindent(lnum) end
|
||||
--- @return string
|
||||
function vim.fn.list2blob(list) end
|
||||
|
||||
--- Convert each number in {list} to a character string can
|
||||
--- concatenate them all. Examples: >vim
|
||||
--- Converts each codepoint in {list} to a UTF-8 character and
|
||||
--- returns the concatenated string. Examples: >vim
|
||||
--- echo list2str([32]) " returns " "
|
||||
--- echo list2str([65, 66, 67]) " returns "ABC"
|
||||
--- <The same can be done (slowly) with: >vim
|
||||
@@ -6721,11 +6721,10 @@ function vim.fn.nextnonblank(lnum) end
|
||||
|
||||
--- Lua: Prefer |string.char()|: only works with ASCII.
|
||||
---
|
||||
--- Return a string with a single character, which has the number
|
||||
--- value {expr}. Examples: >vim
|
||||
--- Gets a UTF-8 string for a single codepoint {expr}.
|
||||
--- Examples: >vim
|
||||
--- echo nr2char(64) " returns '\@'
|
||||
--- echo nr2char(32) " returns ' '
|
||||
--- <Example for "utf-8": >vim
|
||||
--- echo nr2char(300) " returns I with bow character
|
||||
--- <
|
||||
--- UTF-8 encoding is always used, {utf8} option has no effect,
|
||||
|
||||
@@ -1211,7 +1211,11 @@ end
|
||||
---
|
||||
--- Examples: |lsp-attach| |lsp-completion|
|
||||
---
|
||||
--- Note: the behavior of `autotrigger=true` is controlled by the LSP `triggerCharacters` field. You
|
||||
--- @note |vim.lsp.omnifunc()| (|i_CTRL-X_CTRL-O|) queries every client that advertises completion,
|
||||
--- including clients that were disabled by `enable(false)`. To suppress completions for a client,
|
||||
--- clear its capability on |LspAttach|: `client.server_capabilities.completionProvider = nil`.
|
||||
---
|
||||
--- @note Behavior of `autotrigger=true` is controlled by the LSP `triggerCharacters` field. You
|
||||
--- can override it on LspAttach, see |lsp-autocompletion|.
|
||||
---
|
||||
--- @param enable boolean True to enable, false to disable
|
||||
@@ -1235,9 +1239,7 @@ end
|
||||
--- Triggers LSP completion once in the current buffer, if LSP completion is enabled
|
||||
--- (see |lsp-attach| |lsp-completion|).
|
||||
---
|
||||
--- Used by the default LSP |omnicompletion| provider |vim.lsp.omnifunc()|, thus |i_CTRL-X_CTRL-O|
|
||||
--- invokes this in LSP-enabled buffers. Use CTRL-Y to select an item from the completion menu.
|
||||
--- |complete_CTRL-Y|
|
||||
--- Use CTRL-Y to select an item from the completion menu. |complete_CTRL-Y|
|
||||
---
|
||||
--- To invoke manually with CTRL-space, use this mapping:
|
||||
--- ```lua
|
||||
|
||||
Reference in New Issue
Block a user