mirror of
https://github.com/neovim/neovim.git
synced 2026-08-29 18:41:48 +00:00
docs: lsp, options, api #38980
docs: lsp, options
- revert bogus change to `_meta/builtin_types.lua` from 3a4a66017b
Close #38991
Co-authored-by: David Mejorado <david.mejorado@gmail.com>
This commit is contained in:
28
runtime/lua/vim/_meta/options.gen.lua
generated
28
runtime/lua/vim/_meta/options.gen.lua
generated
@@ -1181,8 +1181,7 @@ vim.go.cia = vim.go.completeitemalign
|
||||
--- "menu" or "menuone". No effect if "longest" is present.
|
||||
---
|
||||
--- noselect Same as "noinsert", except that no menu item is
|
||||
--- pre-selected. If both "noinsert" and "noselect" are
|
||||
--- present, "noselect" takes precedence. This is enabled
|
||||
--- pre-selected. Takes precedence over "noinsert". Enabled
|
||||
--- automatically when 'autocomplete' is on, unless
|
||||
--- "preinsert" is also enabled.
|
||||
---
|
||||
@@ -1204,14 +1203,13 @@ vim.go.cia = vim.go.completeitemalign
|
||||
--- 'ignorecase' is set without 'infercase'.
|
||||
--- See also `preinserted()`.
|
||||
---
|
||||
--- preselect Selects the first completion item whose "preselect"
|
||||
--- field is set, if any. Takes precedence over "noselect".
|
||||
---
|
||||
--- preview Show extra information about the currently selected
|
||||
--- completion in the preview window. Only works in
|
||||
--- combination with "menu" or "menuone".
|
||||
---
|
||||
--- preselect Select the completion item that has the "preselect"
|
||||
--- attribute set. If both "noselect" and "preselect" are present,
|
||||
--- "preselect" takes precedence.
|
||||
---
|
||||
--- Only "fuzzy", "longest", "popup", "preinsert", "preselect" and
|
||||
--- "preview" have an effect when 'autocomplete' is enabled.
|
||||
---
|
||||
@@ -2960,15 +2958,15 @@ vim.o.fo = vim.o.formatoptions
|
||||
vim.bo.formatoptions = vim.o.formatoptions
|
||||
vim.bo.fo = vim.bo.formatoptions
|
||||
|
||||
--- The name of an external program that will be used to format the lines
|
||||
--- selected with the `gq` operator. The program must take the input on
|
||||
--- stdin and produce the output on stdout. The Unix program "fmt" is
|
||||
--- such a program.
|
||||
--- If the 'formatexpr' option is not empty it will be used instead.
|
||||
--- Otherwise, if 'formatprg' option is an empty string, the internal
|
||||
--- format function will be used `C-indenting`.
|
||||
--- Environment variables are expanded `:set_env`. See `option-backslash`
|
||||
--- about including spaces and backslashes.
|
||||
--- External program used to format lines with `gq`. Ignored if
|
||||
--- 'formatexpr' is set.
|
||||
---
|
||||
--- If empty, the internal `C-indenting` function will be used.
|
||||
---
|
||||
--- The program must take input on stdin and produce output on stdout. The
|
||||
--- Unix program "fmt" is such a program. Environment variables are
|
||||
--- expanded `:set_env`. See `option-backslash` about including spaces
|
||||
--- and backslashes.
|
||||
---
|
||||
--- @type string
|
||||
vim.o.formatprg = ""
|
||||
|
||||
Reference in New Issue
Block a user