mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
more nvim
This commit is contained in:
parent
48ddc29db1
commit
fc6be19a2d
10 changed files with 337 additions and 273 deletions
|
|
@ -11,8 +11,7 @@ return function()
|
|||
local windowstyle = {
|
||||
border = vim.g.float_border or "none",
|
||||
winhighlight = "Normal:Pmenu,FloatBorder:FloatBorder,CursorLine:PmenuSel,Search:None",
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
preselect = false,
|
||||
|
|
@ -21,12 +20,12 @@ return function()
|
|||
},
|
||||
view = {
|
||||
entries = { name = "custom", selection_order = "near_cursor" },
|
||||
},
|
||||
},
|
||||
window = {
|
||||
documentation = windowstyle,
|
||||
completion = vim.tbl_deep_extend("force", windowstyle, {
|
||||
scrolloff = 4,
|
||||
}),
|
||||
scrolloff = 4,
|
||||
}),
|
||||
},
|
||||
mapping = {
|
||||
["<Up>"] = selectPrev,
|
||||
|
|
@ -52,8 +51,8 @@ return function()
|
|||
}),
|
||||
},
|
||||
sources = {
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "luasnip" },
|
||||
{ name = "nvim_lsp" },
|
||||
-- { name = "luasnip" },
|
||||
{ name = "buffer" },
|
||||
{ name = "path" },
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue