mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
feat: add scrollbar visual
This commit is contained in:
parent
5d02e5d2e3
commit
84f0d2b067
6 changed files with 33 additions and 3 deletions
|
@ -139,6 +139,7 @@ in {
|
|||
local default_header = {
|
||||
type = "text",
|
||||
val = {
|
||||
|
||||
[[███ ██ ███████ ██████ ██ ██ ██ ███ ███]],
|
||||
[[████ ██ ██ ██ ██ ██ ██ ██ ████ ████]],
|
||||
[[██ ██ ██ █████ ██ ██ ██ ██ ██ ██ ████ ██]],
|
||||
|
@ -188,8 +189,8 @@ in {
|
|||
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
|
||||
{ type = "padding", val = 1 },
|
||||
dashboard.button("e", " New file", "<cmd>ene<CR>"),
|
||||
dashboard.button("SPC f", " Find file"),
|
||||
dashboard.button("SPC F", " Live grep"),
|
||||
dashboard.button("SPC F", " Find file"),
|
||||
dashboard.button("SPC ff", " Live grep"),
|
||||
dashboard.button("SPC p", " Projects"),
|
||||
dashboard.button("q", " Quit", "<cmd>qa<CR>"),
|
||||
},
|
||||
|
|
|
@ -43,6 +43,7 @@ with lib; let
|
|||
"minimap-vim"
|
||||
"dashboard-nvim"
|
||||
"alpha-nvim"
|
||||
"scrollbar-nvim"
|
||||
];
|
||||
|
||||
pluginsType = with types; listOf (nullOr (either (enum availablePlugins) package));
|
||||
|
|
|
@ -175,7 +175,7 @@ in {
|
|||
theme = "${cfg.theme}",
|
||||
component_separators = {"${cfg.componentSeparator.left}","${cfg.componentSeparator.right}"},
|
||||
section_separators = {"${cfg.sectionSeparator.left}","${cfg.sectionSeparator.right}"},
|
||||
disabled_filetypes = {},
|
||||
disabled_filetypes = { 'packer', 'NvimTree', 'alpha' }
|
||||
},
|
||||
sections = {
|
||||
lualine_a = ${cfg.activeSection.a},
|
||||
|
|
|
@ -12,6 +12,10 @@ with lib; {
|
|||
nvimWebDevicons.enable = mkDefault false;
|
||||
lspkind.enable = mkDefault false;
|
||||
|
||||
scrollBar = {
|
||||
enable = mkDefault false;
|
||||
};
|
||||
|
||||
cursorWordline = {
|
||||
enable = mkDefault false;
|
||||
lineTimeout = mkDefault 500;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue