diff options
Diffstat (limited to 'lua/nvim-lsp-installer/data.lua')
| -rw-r--r-- | lua/nvim-lsp-installer/data.lua | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lua/nvim-lsp-installer/data.lua b/lua/nvim-lsp-installer/data.lua index dc14ef01..3c736c76 100644 --- a/lua/nvim-lsp-installer/data.lua +++ b/lua/nvim-lsp-installer/data.lua @@ -122,16 +122,6 @@ function Data.list_any(list, predicate) return false end ----@param data string @The JSON data to decode/deserialize. ----@return table -function Data.json_decode(data) - if vim.json and vim.json.decode then - return vim.json.decode(data) - else - return vim.fn.json_decode(data) - end -end - ---@generic T : fun(...) ---@param fn T ---@param cache_key_generator fun(...): string | nil |
