mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-27 19:45:36 +00:00
* chore(nvim): remove astronvim and configs * feat(nvim): new, custom nvim configuration
71 lines
1.4 KiB
Lua
71 lines
1.4 KiB
Lua
-- Floating statuslines for Neovim
|
|
-- https://github.com/b0o/incline.nvim
|
|
--
|
|
-- Lightweight floating statuslines, best used with
|
|
-- Neovim's global statusline (set laststatus=3).
|
|
|
|
return {
|
|
"b0o/incline.nvim",
|
|
config = {
|
|
debounce_threshold = {
|
|
falling = 50,
|
|
rising = 0,
|
|
},
|
|
hide = {
|
|
cursorline = true,
|
|
focused_win = false,
|
|
only_win = true,
|
|
},
|
|
highlight = {
|
|
groups = {
|
|
InclineNormal = {
|
|
default = true,
|
|
group = "NormalFloat",
|
|
},
|
|
InclineNormalNC = {
|
|
default = true,
|
|
group = "NormalFloat",
|
|
},
|
|
},
|
|
},
|
|
ignore = {
|
|
buftypes = "special",
|
|
filetypes = {},
|
|
floating_wins = true,
|
|
unlisted_buffers = true,
|
|
wintypes = "special",
|
|
},
|
|
render = "basic",
|
|
window = {
|
|
margin = {
|
|
horizontal = 1,
|
|
vertical = 1,
|
|
},
|
|
options = {
|
|
signcolumn = "no",
|
|
wrap = false,
|
|
},
|
|
padding = 1,
|
|
padding_char = " ",
|
|
placement = {
|
|
horizontal = "right",
|
|
vertical = "top",
|
|
},
|
|
width = "fit",
|
|
winhighlight = {
|
|
active = {
|
|
EndOfBuffer = "None",
|
|
Normal = "InclineNormal",
|
|
Search = "None",
|
|
},
|
|
inactive = {
|
|
EndOfBuffer = "None",
|
|
Normal = "InclineNormalNC",
|
|
Search = "None",
|
|
},
|
|
},
|
|
zindex = 10,
|
|
},
|
|
},
|
|
}
|