From 5aa2984a028731bf60d53a7f9773997dfc84e4f7 Mon Sep 17 00:00:00 2001 From: Christian Clason Date: Sat, 20 May 2023 17:38:33 +0200 Subject: refactor: use vim.fs.joinpath --- scripts/write-lockfile.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/write-lockfile.lua') diff --git a/scripts/write-lockfile.lua b/scripts/write-lockfile.lua index a264af83c..5dac838d6 100755 --- a/scripts/write-lockfile.lua +++ b/scripts/write-lockfile.lua @@ -2,7 +2,7 @@ vim.opt.runtimepath:append('.') -- Load previous lockfile -local filename = require('nvim-treesitter.utils').get_package_path('lockfile.json') +local filename = require('nvim-treesitter.shell_cmds').get_package_path('lockfile.json') local file = assert(io.open(filename, 'r')) local lockfile = vim.json.decode(file:read('*a')) file:close() -- cgit v1.2.3-70-g09d2