aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-10-24 11:19:38 +0100
committerGitHub <noreply@github.com>2024-10-24 11:19:38 +0100
commit5c44c0240535272064bd4bb11364cb3a64d9b2cb (patch)
tree7e8f780565d187f0da993b13a470a5f423ff87db /scripts/gen_vimdoc.lua
parent008782208d826a03ab046bb2cb1bdda27c6554d0 (diff)
parent2dcbfe78fcec5f73ce061bb24b718187b9c6b134 (diff)
downloadrneovim-5c44c0240535272064bd4bb11364cb3a64d9b2cb.tar.gz
rneovim-5c44c0240535272064bd4bb11364cb3a64d9b2cb.tar.bz2
rneovim-5c44c0240535272064bd4bb11364cb3a64d9b2cb.zip
Merge pull request #30929 from lewis6991/fix/lsp_param_encodings
Diffstat (limited to 'scripts/gen_vimdoc.lua')
-rwxr-xr-xscripts/gen_vimdoc.lua3
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