2022-12-17 23:33:21 +08:00
|
|
|
|
return {
|
2023-01-04 22:22:52 +08:00
|
|
|
|
view = {
|
|
|
|
|
cursor = {
|
|
|
|
|
-- NOTE :
|
|
|
|
|
-- 可选的风格:['fixed', 'relative', .. ]
|
|
|
|
|
style = 'fixed',
|
|
|
|
|
border = 'rounded',
|
|
|
|
|
-- NOTE :
|
|
|
|
|
-- 如果style设置为'relative'
|
|
|
|
|
-- 则其值代表最大限制, 设置为负数则无限制
|
|
|
|
|
width = 30,
|
|
|
|
|
height = 30,
|
|
|
|
|
},
|
|
|
|
|
float = {
|
|
|
|
|
top_offset = 1,
|
|
|
|
|
relative_width = 0.8,
|
|
|
|
|
border = 'rounded',
|
|
|
|
|
},
|
|
|
|
|
},
|
2022-12-17 23:33:21 +08:00
|
|
|
|
display = {
|
2023-01-04 22:22:52 +08:00
|
|
|
|
phnoetic = true,
|
2022-12-17 23:33:21 +08:00
|
|
|
|
collins_star = true,
|
|
|
|
|
oxford = true,
|
2023-01-04 22:22:52 +08:00
|
|
|
|
-- TODO
|
2022-12-19 21:57:13 +08:00
|
|
|
|
-- history = false,
|
2022-12-17 23:33:21 +08:00
|
|
|
|
},
|
2022-12-20 12:05:36 +08:00
|
|
|
|
order = {
|
|
|
|
|
'title',
|
|
|
|
|
'tag',
|
|
|
|
|
'pos',
|
|
|
|
|
'exchange',
|
|
|
|
|
'zh',
|
|
|
|
|
'en',
|
2022-12-17 23:33:21 +08:00
|
|
|
|
},
|
2022-12-20 12:05:36 +08:00
|
|
|
|
|
2023-01-04 22:22:52 +08:00
|
|
|
|
highligh = {
|
|
|
|
|
TransWord = {
|
|
|
|
|
fg = '#7ee787',
|
|
|
|
|
bold = true,
|
|
|
|
|
},
|
|
|
|
|
TransPhonetic = {
|
|
|
|
|
fg = '#8b949e',
|
|
|
|
|
},
|
|
|
|
|
TransRef = {
|
|
|
|
|
fg = '#75beff',
|
|
|
|
|
bold = true,
|
|
|
|
|
},
|
|
|
|
|
TransTag = {
|
|
|
|
|
fg = '#e5c07b',
|
|
|
|
|
},
|
|
|
|
|
TransExchange = {
|
|
|
|
|
link = 'TransTag',
|
|
|
|
|
},
|
|
|
|
|
TransPos = {
|
|
|
|
|
link = 'TransTag',
|
|
|
|
|
},
|
|
|
|
|
TransZh = {
|
|
|
|
|
link = 'TransWord',
|
|
|
|
|
},
|
|
|
|
|
TransEn = {
|
|
|
|
|
fg = '#bc8cff',
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
db_path = '$HOME/.vim/dict/ultimate.db',
|
2022-12-17 23:33:21 +08:00
|
|
|
|
|
2022-12-19 21:57:13 +08:00
|
|
|
|
icon = {
|
|
|
|
|
star = '⭐',
|
|
|
|
|
isOxford = '✔',
|
|
|
|
|
notOxford = ''
|
2022-12-20 10:22:28 +08:00
|
|
|
|
},
|
|
|
|
|
auto_close = true,
|
2023-01-04 23:11:19 +08:00
|
|
|
|
style = {
|
|
|
|
|
input = 'float',
|
|
|
|
|
cursor = 'cursor',
|
|
|
|
|
select = 'cursor'
|
|
|
|
|
}
|
2023-01-04 22:22:52 +08:00
|
|
|
|
-- TODO add online translate engine
|
2022-12-17 23:33:21 +08:00
|
|
|
|
-- online_search = {
|
|
|
|
|
-- enable = false,
|
|
|
|
|
-- engine = {},
|
|
|
|
|
-- }
|
|
|
|
|
|
2023-01-04 22:22:52 +08:00
|
|
|
|
-- TODO register word
|
2022-12-17 23:33:21 +08:00
|
|
|
|
}
|