Files
dotfiles/.config/nvim/lua/plugins/peanuts.lua
2025-09-02 03:32:47 +02:00

195 lines
4.8 KiB
Lua

return {
-- not deps
--{ "xiyaowong/transparent.nvim" },
-- { "olimorris/onedarkpro.nvim" },
{
"neanias/everforest-nvim",
lazy = false,
priority = 1000,
name = "everforest",
opts = {
on_highlights = function(hl, palette)
hl.MiniCursorword = { underdotted = true }
hl.MiniCursorwordCurrent = {} -- just needs to be mentioned to override color theme default and clone MiniCursorword
end,
},
},
{
"alex-popov-tech/store.nvim",
dependencies = {
"OXY2DEV/markview.nvim", -- optional, for pretty readme preview / help window
},
cmd = "Store",
opts = {
width = 1000,
height = 500,
},
},
{
"nvim-lualine/lualine.nvim",
dependencies = { "nvim-tree/nvim-web-devicons" },
lazy = false,
},
{
"folke/noice.nvim",
lazy = true,
opts = {
-- cmdline = {
-- view = "cmdline",
-- },
routes = {
{
filter = {
event = "msg_show",
kind = "",
find = "written",
},
opts = { skip = true },
},
},
},
dependencies = {},
},
{ "MunifTanjim/nui.nvim", lazy = true }, -- dep of noice.nvim
{ "rcarriga/nvim-notify", lazy = true }, -- dep of noice.nvim
{
"echasnovski/mini.nvim",
lazy = true,
version = false,
},
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
"nvim-tree/nvim-web-devicons", -- optional, but recommended
},
cmd = "Neotree",
lazy = true, -- neo-tree will lazily load itself
},
{
"gelguy/wilder.nvim",
lazy = true,
event = { "CmdlineEnter" },
opts = {
modes = { ":", "/", "?" },
},
},
{ "OXY2DEV/markview.nvim", lazy = true, ft = "Markdown", cmd = "Markview", event = { "BufRead *.md" } },
{
"norcalli/nvim-colorizer.lua",
lazy = true,
event = { "BufRead" },
opts = {
"*",
css = { rgb_fn = true, hsl_fn = true },
scss = { rgb_fn = true, hsl_fn = true },
"javascript",
"html",
},
mode = "background",
},
{
"ziontee113/color-picker.nvim",
lazy = true,
keys = {
{ "<C-c>", mode = { "n" }, "<cmd>PickColorInsert<cr>", desc = "open color widget" },
{ "<C-c>", mode = { "i" }, "<cmd>PickColor<cr>", desc = "open color widget" },
},
cmd = { "PickColor", "PickColorInsert" },
opts = {
["icons"] = { "", "" },
-- ["icons"] = { "ﮊ", "" },
-- ["icons"] = { "", "ﰕ" },
-- ["icons"] = { "", "" },
-- ["icons"] = { "", "" },
["border"] = "rounded", -- none | single | double | rounded | solid | shadow
["keymap"] = { -- mapping example:
["U"] = "<Plug>ColorPickerSlider5Decrease",
["O"] = "<Plug>ColorPickerSlider5Increase",
},
["background_highlight_group"] = "Normal", -- default
["border_highlight_group"] = "FloatBorder", -- default ["text_highlight_group"] = "Normal", --default })
vim.cmd([[hi FloatBorder guibg=NONE]]), -- if you don't want weird border background colors around the popup.
},
-- },
-- config = {
-- vim.cmd([[hi FloatBorder guibg=NONE]]), -- if you don't want weird border background colors around the popup.
-- },
},
{
"jiaoshijie/undotree",
dependencies = "nvim-lua/plenary.nvim",
config = true,
keys = {
{ "<leader>u", function() require("undotree").toggle() end, desc = "toggle undotree" },
},
},
{
"saecki/crates.nvim",
lazy = true,
event = { "BufReadPost Cargo.toml" },
opts = {},
-- config = function() require("crates").setup() end,
},
{
"folke/trouble.nvim",
opts = {},
cmd = "Trouble",
lazy = true,
keys = { "<leader>x" },
},
{
"lewis6991/gitsigns.nvim",
lazy = false,
opts = {
signs = {
add = { text = "" },
change = { text = "" },
delete = { text = "_" },
topdelete = { text = "" },
changedelete = { text = "~" },
untracked = { text = "" },
},
signcolumn = true, -- Toggle with `:Gitsigns toggle_signs`
numhl = true, -- Toggle with `:Gitsigns toggle_numhl`
linehl = false, -- Toggle with `:Gitsigns toggle_linehl`
word_diff = false, -- Toggle with `:Gitsigns toggle_word_diff`
watch_gitdir = {
follow_files = true,
},
attach_to_untracked = true,
current_line_blame = true, -- Toggle with `:Gitsigns toggle_current_line_blame`
current_line_blame_opts = {
virt_text = true,
virt_text_pos = "eol", -- 'eol' | 'overlay' | 'right_align'
delay = 150,
ignore_whitespace = false,
virt_text_priority = 0,
},
current_line_blame_formatter = "<author>, <author_time:%Y-%m-%d> - <summary>",
sign_priority = 6,
update_debounce = 100,
status_formatter = nil, -- Use default
max_file_length = 40000, -- Disable if file is longer than this (in lines)
preview_config = {
-- Options passed to nvim_open_win
border = "single",
style = "minimal",
relative = "cursor",
row = 0,
col = 1,
},
},
},
{
"nvzone/typr",
dependencies = "nvzone/volt",
opts = {},
lazy = true,
cmd = { "Typr", "TyprStats" },
},
}