mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 11:24:55 +02:00
touching nvim in special places
This commit is contained in:
parent
1c5dd5bd9c
commit
e8d1b84519
11 changed files with 121 additions and 59 deletions
|
|
@ -11,7 +11,8 @@ return function()
|
|||
local windowstyle = {
|
||||
border = vim.g.float_border or "none",
|
||||
winhighlight = "Normal:Pmenu,FloatBorder:FloatBorder,CursorLine:PmenuSel,Search:None",
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return {
|
||||
preselect = false,
|
||||
|
|
@ -20,10 +21,12 @@ return function()
|
|||
},
|
||||
view = {
|
||||
entries = { name = "custom", selection_order = "near_cursor" },
|
||||
},
|
||||
},
|
||||
window = {
|
||||
documentation = windowstyle,
|
||||
completion = windowstyle,
|
||||
completion = vim.tbl_deep_extend("force", windowstyle, {
|
||||
scrolloff = 4,
|
||||
}),
|
||||
},
|
||||
mapping = {
|
||||
["<Up>"] = selectPrev,
|
||||
|
|
@ -49,8 +52,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