fix: fix plugin_dir and use left slash as path separator for windows
Fixes #46
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
local Trans = require 'Trans'
|
||||
|
||||
local db = require 'sqlite.db'
|
||||
local path = Trans.conf.dir .. Trans.separator .. 'ultimate.db'
|
||||
local path = Trans.conf.dir .. '/ultimate.db'
|
||||
local dict = db:open(path)
|
||||
local db_name = 'stardict'
|
||||
vim.api.nvim_create_autocmd('VimLeavePre', {
|
||||
|
Reference in New Issue
Block a user