feat: add more bugs
This commit is contained in:
@ -11,7 +11,7 @@ local dict = db:open(path)
|
||||
|
||||
-- INFO :Auto Close
|
||||
vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
group = require("Trans.conf.base").autogroup,
|
||||
group = require("Trans").augroup,
|
||||
callback = function()
|
||||
if db:isopen() then
|
||||
db:close()
|
||||
@ -19,7 +19,6 @@ vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
end
|
||||
})
|
||||
|
||||
|
||||
local query_field = {
|
||||
'word',
|
||||
'phonetic',
|
||||
|
Reference in New Issue
Block a user