mirror of
https://github.com/ThePrimeagen/harpoon.git
synced 2025-07-13 17:40:25 +00:00
Convert vim.fn.decode_json to vim.json.decode
This commit is contained in:
parent
0e414fdd5f
commit
b220d3056b
@ -144,7 +144,7 @@ end
|
|||||||
|
|
||||||
local function read_config(local_config)
|
local function read_config(local_config)
|
||||||
log.trace("_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
|
end
|
||||||
|
|
||||||
-- 1. saved. Where do we save?
|
-- 1. saved. Where do we save?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user