1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-17 03:30:01 +02:00

nvim: add snacks (WIP)

This commit is contained in:
Henrik Hautakoski 2026-04-15 06:16:05 +02:00
parent 4df7150497
commit ab5999f91f
5 changed files with 215 additions and 50 deletions

View file

@ -63,6 +63,11 @@ local custom_highlights = function(colors)
TelescopeIndicatorReadonly = { fg = colors.red },
TelescopeIndicatorHidden = { link = "TelescopeResultsComment" },
-- Snacks picker
SnacksPickerInput = { link = "TelescopePromptNormal" },
SnacksPickerInputBorder = { link = "TelescopePromptBorder" },
SnacksPickerResult = { link = "TelescopeResultsNormal" },
-- Ufo
UfoFoldedEllipsis = { link = "Comment" },
@ -79,6 +84,14 @@ local custom_highlights = function(colors)
StatusLineCommand = { fg = colors.base, bg = colors.yellow },
StatusLineReplace = { fg = colors.base, bg = colors.maroon },
-- Notifications
Notification = { bg = colors.red },
-- Dashboard
SnacksDashboardIcon = { fg = colors.lavender },
SnacksDashboardDesc = { fg = colors.text },
SnacksDashboardKey = { fg = colors.lavender },
-- Neotree
NeoTreeTabActive = { bg = colors.surface2, fg = colors.lavender },
NeoTreeTabInactive = { bg = colors.crust, fg = colors.surface2 },
@ -255,7 +268,7 @@ return {
priority = 1000,
opts = {
flavour = "mocha",
transparent_background = not vim.g.neovide,
transparent_background = false,
color_overrides = {
mocha = {
base = "#0E1019",

View file

@ -41,8 +41,9 @@ local options = {
section_separators = "",
disabled_filetypes = {
statusline = {
"dashboard",
"alpha",
"dashboard",
"snacks_dashboard"
},
winbar = {
"neo-tree",