Skip to content

Commit 8a54467

Browse files
committed
fix: Stop using joinpath()
1 parent 3b7d34c commit 8a54467

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/debugprint.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,9 @@ vim.notify = function(msg, _)
7777
notify_message = msg
7878
end
7979

80-
local DATA_PATH = vim.fs.joinpath(vim.fn.stdpath("data"), "debugprint")
81-
local COUNTER_FILE = vim.fs.joinpath(DATA_PATH, "counter")
80+
-- FIXME: Switch to joinpath for more elegance once we stop supporting <0.10
81+
local DATA_PATH = vim.fn.stdpath("data") .. "/debugprint"
82+
local COUNTER_FILE = DATA_PATH .. "/counter"
8283

8384
local teardown = function(opts)
8485
opts = vim.tbl_extend("keep", opts or {}, { reset_counter = true })

0 commit comments

Comments
 (0)