fix: win separator

This commit is contained in:
小尛 2023-04-24 12:42:59 +08:00
parent 3faab735fb
commit 758b9c0b33

View File

@ -25,7 +25,7 @@ local system =
uname == 'Linux' and (vim.fn.executable 'termux-api-start' == 1 and 'termux' or 'linux') or uname == 'Linux' and (vim.fn.executable 'termux-api-start' == 1 and 'termux' or 'linux') or
error 'Unknown System, Please Report Issue' error 'Unknown System, Please Report Issue'
local sep = system == 'win' and '\\' or '/' local sep = system == 'win' and '\\\\' or '/'
---@class Trans ---@class Trans
---@field style table @Style module ---@field style table @Style module
---@field cache table<string, TransData> @Cache for translated data object ---@field cache table<string, TransData> @Cache for translated data object