docs(lsp): use direct link to formattingOptions in format docs (#19558)

Also changes `@see` to `See` to avoid the break to a dedicated "See
also" block in the generated vimdoc
This commit is contained in:
Mathias Fußenegger
2022-07-28 19:41:30 +02:00
committed by GitHub
parent 98915f88b2
commit b25abbf4b8
2 changed files with 22 additions and 21 deletions

View File

@@ -157,7 +157,7 @@ end
--- - formatting_options (table|nil):
--- Can be used to specify FormattingOptions. Some unspecified options will be
--- automatically derived from the current Neovim options.
--- @see https://microsoft.github.io/language-server-protocol/specification#textDocument_formatting
--- See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#formattingOptions
--- - timeout_ms (integer|nil, default 1000):
--- Time in milliseconds to block for formatting requests. No effect if async=true
--- - bufnr (number|nil):