aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMaria José Solano <majosolano99@gmail.com>2023-10-16 08:13:37 -0700
committerGitHub <noreply@github.com>2023-10-16 08:13:37 -0700
commitc46a6c065e8d830adb8a2f410d3c92cf5bd4455b (patch)
tree4b9d5254a5dddbf87bc1a3e432d653391548a569 /scripts
parent0892c1cd94672e0dffe3b97fc4a85ea517b05598 (diff)
downloadrneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.tar.gz
rneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.tar.bz2
rneovim-c46a6c065e8d830adb8a2f410d3c92cf5bd4455b.zip
docs: do not hardcode LSP version in URL #25648
Diffstat (limited to 'scripts')
-rw-r--r--scripts/gen_lsp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/gen_lsp.lua b/scripts/gen_lsp.lua
index 66369a8446..6ff8dcb3f4 100644
--- a/scripts/gen_lsp.lua
+++ b/scripts/gen_lsp.lua
@@ -35,7 +35,7 @@ end
-- Gets the Lua symbol for a given fully-qualified LSP method name.
local function name(s)
- -- "$/" prefix is special: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#dollarRequests
+ -- "$/" prefix is special: https://microsoft.github.io/language-server-protocol/specification/#dollarRequests
return s:gsub('^%$', 'dollar'):gsub('/', '_')
end
@@ -44,7 +44,7 @@ local function gen_methods(protocol)
'-- Generated by gen_lsp.lua, keep at end of file.',
'--- LSP method names.',
'---',
- '---@see https://microsoft.github.io/language-server-protocol/specifications/specification-current/#metaModel',
+ '---@see https://microsoft.github.io/language-server-protocol/specification/#metaModel',
'protocol.Methods = {',
}
local indent = (' '):rep(2)