mirror of
https://github.com/neovim/neovim.git
synced 2025-11-14 06:18:50 +00:00
fix(lsp.protocal): improve typing of constants
This commit is contained in:
@@ -289,6 +289,9 @@ local config = {
|
||||
},
|
||||
fn_xform = function(fun)
|
||||
fun.name = fun.name:gsub('result%.', '')
|
||||
if fun.module == 'vim.lsp.protocol' then
|
||||
fun.classvar = nil
|
||||
end
|
||||
end,
|
||||
section_fmt = function(name)
|
||||
if name:lower() == 'lsp' then
|
||||
|
||||
Reference in New Issue
Block a user