diff options
author | Maria José Solano <majosolano99@gmail.com> | 2023-10-16 08:13:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-16 08:13:37 -0700 |
commit | c46a6c065e8d830adb8a2f410d3c92cf5bd4455b (patch) | |
tree | 4b9d5254a5dddbf87bc1a3e432d653391548a569 /runtime/doc | |
parent | 0892c1cd94672e0dffe3b97fc4a85ea517b05598 (diff) | |
download | rneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.tar.gz rneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.tar.bz2 rneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.zip |
docs: do not hardcode LSP version in URL #25648
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/lsp.txt | 6 | ||||
-rw-r--r-- | runtime/doc/news-0.9.txt | 2 | ||||
-rw-r--r-- | runtime/doc/news.txt | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/runtime/doc/lsp.txt b/runtime/doc/lsp.txt index 10e1a2c2c5..8a0b144e83 100644 --- a/runtime/doc/lsp.txt +++ b/runtime/doc/lsp.txt @@ -444,7 +444,7 @@ The server will typically provide one token per identifier in the source code. The token will have a `type` such as "function" or "variable", and 0 or more `modifier`s such as "readonly" or "deprecated." The standard types and modifiers are described here: -https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_semanticTokens +https://microsoft.github.io/language-server-protocol/specification/#textDocument_semanticTokens LSP servers may also use off-spec types and modifiers. The LSP client adds one or more highlights for each token. The highlight @@ -1232,7 +1232,7 @@ format({options}) *vim.lsp.buf.format()* optional fields: • formatting_options (table|nil): Can be used to specify FormattingOptions. Some unspecified options will be - automatically derived from the current Nvim options. See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#formattingOptions + automatically derived from the current Nvim options. See https://microsoft.github.io/language-server-protocol/specification/#formattingOptions • timeout_ms (integer|nil, default 1000): Time in milliseconds to block for formatting requests. No effect if async=true @@ -1654,7 +1654,7 @@ buf_highlight_references({bufnr}, {references}, {offset_encoding}) • {offset_encoding} (string) One of "utf-8", "utf-16", "utf-32". See also: ~ - • https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentContentChangeEvent + • https://microsoft.github.io/language-server-protocol/specification/#textDocumentContentChangeEvent *vim.lsp.util.character_offset()* character_offset({buf}, {row}, {col}, {offset_encoding}) diff --git a/runtime/doc/news-0.9.txt b/runtime/doc/news-0.9.txt index 33733822ea..789bc9e0bc 100644 --- a/runtime/doc/news-0.9.txt +++ b/runtime/doc/news-0.9.txt @@ -160,7 +160,7 @@ The following new APIs or features were added. `workspace.didChangeWatchedFiles.dynamicRegistration=true` capability. • |vim.diagnostic| now supports LSP DiagnosticsTag. - See: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnosticTag + See: https://microsoft.github.io/language-server-protocol/specification/#diagnosticTag • |vim.diagnostic.is_disabled()| checks if diagnostics are disabled in a given buffer or namespace. diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 3098cc0fb7..3dae3c71b1 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -122,9 +122,9 @@ The following new APIs and features were added. • LSP • LSP method names are available in |vim.lsp.protocol.Methods|. • Implemented LSP inlay hints: |vim.lsp.inlay_hint()| - https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlayHint + https://microsoft.github.io/language-server-protocol/specification/#textDocument_inlayHint • Implemented pull diagnostic textDocument/diagnostic: |vim.lsp.diagnostic.on_diagnostic()| - https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_diagnostic + https://microsoft.github.io/language-server-protocol/specification/#textDocument_diagnostic • Added |vim.lsp.status()| to consume the last progress messages as a string. • LSP client now always saves and restores named buffer marks when applying text edits. |