Dim gitignored files in neotree

format chrome.lua
This commit is contained in:
Daniel McKnight 2025-06-27 23:08:27 -07:00
parent 3d86bfef4d
commit fb6b8ffb3e
2 changed files with 126 additions and 136 deletions

View file

@ -105,16 +105,9 @@ return {
"preservim/tagbar", "preservim/tagbar",
vim.keymap.set("n", "<leader>fs", ":TagbarToggle<CR>", { desc = "Toggle Tagbar" }), vim.keymap.set("n", "<leader>fs", ":TagbarToggle<CR>", { desc = "Toggle Tagbar" }),
}, },
--{
-- "yegappan/taglist",
-- vim.keymap.set("n", "<leader>fs", ":TlistToggle<CR>", { desc = "Toggle Taglist" }),
-- vim.cmd("let Tlist_Use_Right_Window = 1"),
-- vim.cmd("let Tlist_Show_One_File = 1"),
-- vim.cmd("let Tlist_WinWidth = 50"),
--},
{ {
"goolord/alpha-nvim", "goolord/alpha-nvim",
dependencies = { "nvim-tree/nvim-web-devicons" }, dependencies = { "nvim-tree/nvim-web-devicons", "nvim-neo-tree/neo-tree.nvim" },
config = function() config = function()
local alpha = require("alpha") local alpha = require("alpha")
local dashboard = require("alpha.themes.startify") local dashboard = require("alpha.themes.startify")

View file

@ -7,15 +7,12 @@ return {
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
-- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information -- {"3rd/image.nvim", opts = {}}, -- Optional image support in preview window: See `# Preview Mode` for more information
}, },
lazy = false, -- neo-tree will lazily load itself lazy = true, -- neo-tree will lazily load itself
opts = { opts = {
filesystem = { filesystem = {
filtered_items = { filtered_items = {
visible = true, visible = true,
-- hide_dotfiles = false, hide_gitignored = true,
hide_by_name = {
".git",
},
}, },
}, },
event_handlers = { event_handlers = {