feat: add snacks
This commit is contained in:
@@ -107,6 +107,7 @@
|
|||||||
lua-language-server
|
lua-language-server
|
||||||
nixd
|
nixd
|
||||||
stylua
|
stylua
|
||||||
|
lazygit
|
||||||
];
|
];
|
||||||
kickstart-debug = [
|
kickstart-debug = [
|
||||||
delve
|
delve
|
||||||
@@ -138,7 +139,7 @@
|
|||||||
cmp_luasnip
|
cmp_luasnip
|
||||||
cmp-nvim-lsp
|
cmp-nvim-lsp
|
||||||
cmp-path
|
cmp-path
|
||||||
catppuccin-nvim
|
{plugin=catppuccin-nvim; name="catppuccin";}
|
||||||
todo-comments-nvim
|
todo-comments-nvim
|
||||||
mini-nvim
|
mini-nvim
|
||||||
nvim-treesitter.withAllGrammars
|
nvim-treesitter.withAllGrammars
|
||||||
@@ -180,6 +181,11 @@
|
|||||||
custom-undotree = [
|
custom-undotree = [
|
||||||
undotree
|
undotree
|
||||||
];
|
];
|
||||||
|
custom-snacks = [
|
||||||
|
{plugin=snacks-nvim; name="snacks.nvim";}
|
||||||
|
nvim-web-devicons
|
||||||
|
{plugin=mini-icons; name="mini.icons";}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# not loaded automatically at startup.
|
# not loaded automatically at startup.
|
||||||
@@ -273,6 +279,7 @@
|
|||||||
|
|
||||||
custom-tmux-navigator = true;
|
custom-tmux-navigator = true;
|
||||||
custom-undotree = true;
|
custom-undotree = true;
|
||||||
|
custom-snacks = true;
|
||||||
|
|
||||||
# we can pass whatever we want actually.
|
# we can pass whatever we want actually.
|
||||||
have_nerd_font = false;
|
have_nerd_font = false;
|
||||||
|
|||||||
@@ -798,7 +798,7 @@ require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start',
|
|||||||
--
|
--
|
||||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||||
'catppuccin/nvim',
|
'catppuccin/nvim',
|
||||||
name = 'catppuccin-nvim',
|
name = 'catppuccin',
|
||||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||||
init = function()
|
init = function()
|
||||||
-- Load the colorscheme here.
|
-- Load the colorscheme here.
|
||||||
@@ -906,6 +906,7 @@ require('nixCatsUtils.lazyCat').setup(nixCats.pawsible { 'allPlugins', 'start',
|
|||||||
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
require 'kickstart.plugins.gitsigns', -- adds gitsigns recommend keymaps
|
||||||
require 'custom.plugins.tmux_navigator',
|
require 'custom.plugins.tmux_navigator',
|
||||||
require 'custom.plugins.undotree',
|
require 'custom.plugins.undotree',
|
||||||
|
require 'custom.plugins.snacks',
|
||||||
|
|
||||||
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
-- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua`
|
||||||
-- This is the easiest way to modularize your config.
|
-- This is the easiest way to modularize your config.
|
||||||
|
|||||||
23
kickstart/lua/custom/plugins/snacks.lua
Normal file
23
kickstart/lua/custom/plugins/snacks.lua
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
return {
|
||||||
|
'folke/snacks.nvim',
|
||||||
|
priority = 1000,
|
||||||
|
lazy = false,
|
||||||
|
---@type snacks.Config
|
||||||
|
opts = {
|
||||||
|
-- your configuration comes here
|
||||||
|
-- or leave it empty to use the default settings
|
||||||
|
-- refer to the configuration section below
|
||||||
|
bigfile = { enabled = true },
|
||||||
|
dashboard = { enabled = true },
|
||||||
|
explorer = { enabled = true },
|
||||||
|
indent = { enabled = true },
|
||||||
|
input = { enabled = true },
|
||||||
|
picker = { enabled = true },
|
||||||
|
notifier = { enabled = true },
|
||||||
|
quickfile = { enabled = true },
|
||||||
|
scope = { enabled = true },
|
||||||
|
scroll = { enabled = true },
|
||||||
|
statuscolumn = { enabled = true },
|
||||||
|
words = { enabled = true },
|
||||||
|
},
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user