mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
feat: add scrollbar visual
This commit is contained in:
parent
5d02e5d2e3
commit
84f0d2b067
6 changed files with 33 additions and 3 deletions
17
flake.lock
17
flake.lock
|
@ -782,6 +782,7 @@
|
||||||
"registers": "registers",
|
"registers": "registers",
|
||||||
"rnix-lsp": "rnix-lsp",
|
"rnix-lsp": "rnix-lsp",
|
||||||
"rust-tools": "rust-tools",
|
"rust-tools": "rust-tools",
|
||||||
|
"scrollbar-nvim": "scrollbar-nvim",
|
||||||
"sqls-nvim": "sqls-nvim",
|
"sqls-nvim": "sqls-nvim",
|
||||||
"telescope": "telescope",
|
"telescope": "telescope",
|
||||||
"tidalcycles": "tidalcycles",
|
"tidalcycles": "tidalcycles",
|
||||||
|
@ -833,6 +834,22 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"scrollbar-nvim": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1673562030,
|
||||||
|
"narHash": "sha256-OnVOmYhWMWH7a382DAIPEzJmz/J0BHniey7twyl500Q=",
|
||||||
|
"owner": "petertriho",
|
||||||
|
"repo": "nvim-scrollbar",
|
||||||
|
"rev": "6a2065fbcd032075a06d2ab54508b69842bc4496",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "petertriho",
|
||||||
|
"repo": "nvim-scrollbar",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"sqls-nvim": {
|
"sqls-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
@ -62,6 +62,7 @@
|
||||||
vim.visuals = {
|
vim.visuals = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nvimWebDevicons.enable = true;
|
nvimWebDevicons.enable = true;
|
||||||
|
scrollBar.enable = true;
|
||||||
lspkind.enable = true;
|
lspkind.enable = true;
|
||||||
indentBlankline = {
|
indentBlankline = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -406,6 +407,12 @@
|
||||||
url = "github:yamatsum/nvim-cursorline";
|
url = "github:yamatsum/nvim-cursorline";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
scrollbar-nvim = {
|
||||||
|
url = "github:petertriho/nvim-scrollbar";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
indent-blankline = {
|
indent-blankline = {
|
||||||
url = "github:lukas-reineke/indent-blankline.nvim";
|
url = "github:lukas-reineke/indent-blankline.nvim";
|
||||||
flake = false;
|
flake = false;
|
||||||
|
|
|
@ -139,6 +139,7 @@ in {
|
||||||
local default_header = {
|
local default_header = {
|
||||||
type = "text",
|
type = "text",
|
||||||
val = {
|
val = {
|
||||||
|
|
||||||
[[███ ██ ███████ ██████ ██ ██ ██ ███ ███]],
|
[[███ ██ ███████ ██████ ██ ██ ██ ███ ███]],
|
||||||
[[████ ██ ██ ██ ██ ██ ██ ██ ████ ████]],
|
[[████ ██ ██ ██ ██ ██ ██ ██ ████ ████]],
|
||||||
[[██ ██ ██ █████ ██ ██ ██ ██ ██ ██ ████ ██]],
|
[[██ ██ ██ █████ ██ ██ ██ ██ ██ ██ ████ ██]],
|
||||||
|
@ -188,8 +189,8 @@ in {
|
||||||
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
|
{ type = "text", val = "Quick links", opts = { hl = "SpecialComment", position = "center" } },
|
||||||
{ type = "padding", val = 1 },
|
{ type = "padding", val = 1 },
|
||||||
dashboard.button("e", " New file", "<cmd>ene<CR>"),
|
dashboard.button("e", " New file", "<cmd>ene<CR>"),
|
||||||
dashboard.button("SPC f", " Find file"),
|
dashboard.button("SPC F", " Find file"),
|
||||||
dashboard.button("SPC F", " Live grep"),
|
dashboard.button("SPC ff", " Live grep"),
|
||||||
dashboard.button("SPC p", " Projects"),
|
dashboard.button("SPC p", " Projects"),
|
||||||
dashboard.button("q", " Quit", "<cmd>qa<CR>"),
|
dashboard.button("q", " Quit", "<cmd>qa<CR>"),
|
||||||
},
|
},
|
||||||
|
|
|
@ -43,6 +43,7 @@ with lib; let
|
||||||
"minimap-vim"
|
"minimap-vim"
|
||||||
"dashboard-nvim"
|
"dashboard-nvim"
|
||||||
"alpha-nvim"
|
"alpha-nvim"
|
||||||
|
"scrollbar-nvim"
|
||||||
];
|
];
|
||||||
|
|
||||||
pluginsType = with types; listOf (nullOr (either (enum availablePlugins) package));
|
pluginsType = with types; listOf (nullOr (either (enum availablePlugins) package));
|
||||||
|
|
|
@ -175,7 +175,7 @@ in {
|
||||||
theme = "${cfg.theme}",
|
theme = "${cfg.theme}",
|
||||||
component_separators = {"${cfg.componentSeparator.left}","${cfg.componentSeparator.right}"},
|
component_separators = {"${cfg.componentSeparator.left}","${cfg.componentSeparator.right}"},
|
||||||
section_separators = {"${cfg.sectionSeparator.left}","${cfg.sectionSeparator.right}"},
|
section_separators = {"${cfg.sectionSeparator.left}","${cfg.sectionSeparator.right}"},
|
||||||
disabled_filetypes = {},
|
disabled_filetypes = { 'packer', 'NvimTree', 'alpha' }
|
||||||
},
|
},
|
||||||
sections = {
|
sections = {
|
||||||
lualine_a = ${cfg.activeSection.a},
|
lualine_a = ${cfg.activeSection.a},
|
||||||
|
|
|
@ -12,6 +12,10 @@ with lib; {
|
||||||
nvimWebDevicons.enable = mkDefault false;
|
nvimWebDevicons.enable = mkDefault false;
|
||||||
lspkind.enable = mkDefault false;
|
lspkind.enable = mkDefault false;
|
||||||
|
|
||||||
|
scrollBar = {
|
||||||
|
enable = mkDefault false;
|
||||||
|
};
|
||||||
|
|
||||||
cursorWordline = {
|
cursorWordline = {
|
||||||
enable = mkDefault false;
|
enable = mkDefault false;
|
||||||
lineTimeout = mkDefault 500;
|
lineTimeout = mkDefault 500;
|
||||||
|
|
Loading…
Reference in a new issue