Updated neotree config

This commit is contained in:
Dreaded_X 2025-01-26 03:33:41 +01:00
parent 5f1666094c
commit abba8c2901
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
2 changed files with 28 additions and 0 deletions

View File

@ -21,6 +21,22 @@ return {
popup_border_style = require("symbols.window").border, popup_border_style = require("symbols.window").border,
source_selector = { source_selector = {
winbar = true, winbar = true,
show_scrolled_off_parent_node = true,
sources = {
{
source = "filesystem",
display_name = " Files ",
},
{
source = "buffers",
display_name = " Buffers ",
},
{
source = "git_status",
display_name = " Git ",
},
},
show_separator_on_edge = true,
}, },
default_component_configs = { default_component_configs = {
diagnostics = { diagnostics = {
@ -65,10 +81,15 @@ return {
scan_mode = "deep", scan_mode = "deep",
}, },
window = { window = {
popup = {
title = "",
},
position = "float", position = "float",
mappings = { mappings = {
["<C-c>"] = "close_window", ["<C-c>"] = "close_window",
["<esc>"] = "close_window", ["<esc>"] = "close_window",
["<tab>"] = "next_source",
["<S-tab>"] = "prev_source",
}, },
}, },
}) })

View File

@ -59,6 +59,13 @@ return {
WhichKey = { fg = palette.bright_aqua, bold = true }, WhichKey = { fg = palette.bright_aqua, bold = true },
WhichKeyDesc = { fg = palette.light1 }, WhichKeyDesc = { fg = palette.light1 },
WhichKeyGroup = { fg = palette.neutral_blue, bold = true }, WhichKeyGroup = { fg = palette.neutral_blue, bold = true },
NeoTreeBufferNumber = { fg = palette.bright_green, bold = true },
NeoTreeDirectoryName = { fg = palette.neutral_blue, bold = true },
NeoTreeRootName = { fg = palette.neutral_blue, bold = true },
NeoTreeDirectoryIcon = { fg = palette.neutral_blue },
NeoTreeFileIcon = { fg = palette.light1 },
NeoTreeFilterTerm = { fg = palette.bright_aqua, bold = true },
NeoTreeSymbolicLinkTarget = { fg = palette.bright_aqua, bold = true },
}, },
}) })