Convert vim.fn.decode_json to vim.json.decode

This commit is contained in:
Roland Synnestvedt 2022-11-22 21:49:54 -08:00
parent 0e414fdd5f
commit b220d3056b

View file

@ -144,7 +144,7 @@ end
local function read_config(local_config)
log.trace("_read_config():", local_config)
return vim.fn.json_decode(Path:new(local_config):read())
return vim.json.decode(Path:new(local_config):read())
end
-- 1. saved. Where do we save?