chore: close window and buffer more safely
This commit is contained in:
@@ -37,7 +37,7 @@ function M.new(opts)
|
||||
data.backends[i] = Trans.backend[name]
|
||||
end
|
||||
|
||||
if Trans.util.is_English(str) then
|
||||
if Trans.util.is_english(str) then
|
||||
data.from = 'en'
|
||||
data.to = 'zh'
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user