moved from mini.completion to nvim-cmp
This commit is contained in:
1 parent
16e24146e5
commit
2929d9d70b
6 files changed
+294
-95
No files matched your search
@@ -128,36 +128,6 @@ utils.autocmd(
|
||||
end
|
||||
)
|
||||
|
||||
if not NV_DARCULA_ENABLE_COC then
|
||||
utils.autocmd(
|
||||
group,
|
||||
"User",
|
||||
{
|
||||
"MiniCompletionWindowOpen",
|
||||
"MiniCompletionWindowUpdate"
|
||||
},
|
||||
function(args)
|
||||
local data = args.data
|
||||
if not data or not data.win_id then
|
||||
return
|
||||
end
|
||||
|
||||
if data.kind ~= "info" and data.kind ~= "signature" then
|
||||
return
|
||||
end
|
||||
|
||||
if vim.api.nvim_win_is_valid(data.win_id) then
|
||||
vim.api.nvim_win_set_config(
|
||||
data.win_id,
|
||||
{
|
||||
title = ""
|
||||
}
|
||||
)
|
||||
end
|
||||
end
|
||||
)
|
||||
end
|
||||
|
||||
utils.autocmd(
|
||||
group,
|
||||
"BufEnter",
|
||||
|
||||
Reference in new issue
Block a user