From 3275ae830da97ef907ff3cfb0170706b6a430f57 Mon Sep 17 00:00:00 2001 From: Lewis Russell Date: Thu, 24 Oct 2024 10:31:34 +0100 Subject: fix(lsp.protocal): improve typing of constants --- scripts/gen_vimdoc.lua | 3 +++ 1 file changed, 3 insertions(+) (limited to 'scripts/gen_vimdoc.lua') 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 -- cgit