diff options
| author | numToStr <24727447+numToStr@users.noreply.github.com> | 2022-08-27 14:33:41 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-27 17:03:41 +0800 |
| commit | 41d92f2c8164545b0dd46cc6c887c51bfb147aa8 (patch) | |
| tree | 3d1fed25142b167df8d298bce661d5ca9b9b99d5 /scripts | |
| parent | Revert "fix: remove the config.commands (#2092)" (#2093) (diff) | |
| download | nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar.gz nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar.bz2 nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar.lz nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar.xz nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.tar.zst nvim-lspconfig-41d92f2c8164545b0dd46cc6c887c51bfb147aa8.zip | |
chore(rust-analyzer): use `vim.json.decode` instead of `fn.json_decode` (#2096)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/docgen.lua | 2 |
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 |
