aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_lsp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gen_lsp.lua')
-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)