feat: change cmp window border
This commit is contained in:
@@ -56,11 +56,9 @@ local action = {
|
||||
}
|
||||
|
||||
|
||||
local handle = {
|
||||
title = function()
|
||||
-- TODO :
|
||||
end,
|
||||
}
|
||||
local function process()
|
||||
|
||||
end
|
||||
|
||||
return function(word)
|
||||
-- TODO :online query
|
||||
@@ -89,9 +87,7 @@ return function(word)
|
||||
|
||||
if m_result then
|
||||
set_tag_hl(engine_us, 'success')
|
||||
for _, proc in pairs(handle) do
|
||||
proc()
|
||||
end
|
||||
process()
|
||||
else
|
||||
set_tag_hl(engine_us, 'fail')
|
||||
end
|
||||
|
@@ -10,7 +10,6 @@ local item
|
||||
|
||||
local m_indent = ' '
|
||||
|
||||
|
||||
local title = function(str)
|
||||
m_content:addline(
|
||||
text(
|
||||
@@ -313,6 +312,7 @@ return function(word)
|
||||
m_window:set('wrap', true)
|
||||
end)
|
||||
|
||||
|
||||
-- Auto Close
|
||||
cmd_id = api.nvim_create_autocmd(
|
||||
hover.auto_close_events, {
|
||||
|
Reference in New Issue
Block a user