Merge pull request #31 from felixonmars/patch-1

Correct typos in init.lua
This commit is contained in:
Zoran
2023-03-17 08:14:25 +08:00
committed by GitHub

View File

@ -15,8 +15,8 @@ elseif fn.has('mac') == 1 then
end
else
string.play = function(self)
local seperator = fn.has('unix') and '/' or '\\'
local file = debug.getinfo(1, "S").source:sub(2):match('(.*)lua') .. seperator .. 'tts' .. seperator .. 'say.js'
local separator = fn.has('unix') and '/' or '\\'
local file = debug.getinfo(1, "S").source:sub(2):match('(.*)lua') .. separator .. 'tts' .. separator .. 'say.js'
fn.jobstart('node ' .. file .. ' ' .. self)
end
end