fix(lsp.protocal): improve typing of constants

This commit is contained in:
Lewis Russell
2024-10-24 10:31:34 +01:00
parent 2ee39b7eb4
commit 3275ae830d
2 changed files with 8 additions and 1 deletions

View File

@ -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