docs: lsp, options, api

- revert bogus change to `_meta/builtin_types.lua` from 3a4a66017b

Co-authored-by: David Mejorado <david.mejorado@gmail.com>
This commit is contained in:
Justin M. Keyes
2026-04-14 06:09:54 -04:00
parent 53038d2c38
commit ccba8a8f2d
14 changed files with 152 additions and 93 deletions

View File

@@ -3758,15 +3758,15 @@ local options = {
abbreviation = 'fp',
defaults = '',
desc = [=[
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.
]=],
expand = true,
full_name = 'formatprg',