mirror of
https://github.com/neovim/neovim
synced 2025-07-16 01:01:49 +00:00
docs: do not hardcode LSP version in URL #25648
This commit is contained in:
committed by
GitHub
parent
0892c1cd94
commit
c46a6c065e
@ -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)
|
||||
|
Reference in New Issue
Block a user