fix(lsp): add deprecation comment to gen_lsp (#36185)

This commit is contained in:
Maria Solano
2025-10-14 13:55:06 -07:00
committed by GitHub
parent 41199c45d6
commit bd41f6eb6c

View File

@@ -179,7 +179,7 @@ local function write_to_vim_protocol(protocol)
'--- | vim.lsp.protocol.Method.ServerToClient',
'',
'-- Generated by gen_lsp.lua, keep at end of file.',
'--- @deprecated',
'--- @deprecated Use `vim.lsp.protocol.Method` instead.',
'--- @enum vim.lsp.protocol.Methods',
'--- @see https://microsoft.github.io/language-server-protocol/specification/#metaModel',
'--- LSP method names.',