diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-10-24 10:31:34 +0100 |
---|---|---|
committer | Lewis Russell <lewis6991@gmail.com> | 2024-10-24 10:53:03 +0100 |
commit | 3275ae830da97ef907ff3cfb0170706b6a430f57 (patch) | |
tree | 2cf4a9ae6e306900497abefd56f2aa525344a745 /scripts | |
parent | 2ee39b7eb46f091bf22dd1ba3066afff51139bdd (diff) | |
download | rneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.tar.gz rneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.tar.bz2 rneovim-3275ae830da97ef907ff3cfb0170706b6a430f57.zip |
fix(lsp.protocal): improve typing of constants
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/gen_vimdoc.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/gen_vimdoc.lua b/scripts/gen_vimdoc.lua index f7c95e222d..9cd5b598da 100755 --- a/scripts/gen_vimdoc.lua +++ b/scripts/gen_vimdoc.lua @@ -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 |