Trans.nvim/lua/Trans/init.lua

13 lines
263 B
Lua
Raw Normal View History

2022-12-17 20:51:22 +08:00
local M = {}
2022-12-17 16:07:27 +08:00
2023-01-09 23:20:56 +08:00
M.setup = function(opts)
require('Trans.conf.loader').load_conf(opts)
require("Trans.setup")
M.translate = require('Trans.core.translate')
end
2022-12-17 20:51:22 +08:00
2023-01-09 23:20:56 +08:00
M.translate = nil
M.augroup = vim.api.nvim_create_augroup('Trans', {clear = true})
2023-01-09 18:57:20 +08:00
2022-12-17 16:07:27 +08:00
return M