nvim: use blink.cmp for completion

https://github.com/Saghen/blink.cmp
This commit is contained in:
Daniel Lundin 2024-11-09 00:19:18 +01:00
parent 273c88b4fe
commit f6f2286505
Signed by: dln
SSH key fingerprint: SHA256:dQy1Xj3UiqJYpKR5ggQ2bxgz4jCH8IF+k3AB8o0kmdI
3 changed files with 20 additions and 51 deletions
home/common/nvim

View file

@ -15,14 +15,6 @@ require('mini.cursorword').setup({
delay = 800
})
require('mini.completion').setup({
window = {
info = { height = 25, width = 80, border = 'rounded' },
signature = { height = 25, width = 80, border = 'rounded' },
},
})
local hipatterns = require('mini.hipatterns')
hipatterns.setup({
highlighters = {
@ -49,8 +41,8 @@ require('mini.jump2d').setup({
})
local picker_win_config = function()
height = vim.o.lines - 8
width = 80
local height = vim.o.lines - 8
local width = 80
return {
border = 'rounded',
anchor = 'NW',
@ -70,10 +62,6 @@ require('mini.pick').setup({
options = { use_cache = true },
window = {
config = picker_win_config,
-- config = {
-- border = 'rounded',
-- width = 'auto',
-- },
},
})
MiniPick.registry.files_root = function(local_opts)