aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docgen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docgen.lua')
-rw-r--r--scripts/docgen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/docgen.lua b/scripts/docgen.lua
index 375c5bd4..93d57eb0 100644
--- a/scripts/docgen.lua
+++ b/scripts/docgen.lua
@@ -159,7 +159,7 @@ local function make_lsp_sections()
os.exit(1)
return
end
- local data = fn.json_decode(readfile(package_json_name))
+ local data = vim.json.decode(readfile(package_json_name))
-- The entire autogenerated section.
return make_section(0, '\n', {
-- The default settings section