From 90706b4932ae0483bdad027e5e895ea6d7396dfd Mon Sep 17 00:00:00 2001 From: punkfairie Date: Sat, 4 Jan 2025 21:55:20 -0800 Subject: [PATCH] feat: Add custom opts to neo-tree.nvim --- nvim/lua/plugins/editor/neo-tree-nvim.lua | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/nvim/lua/plugins/editor/neo-tree-nvim.lua b/nvim/lua/plugins/editor/neo-tree-nvim.lua index 632810d..26304d7 100644 --- a/nvim/lua/plugins/editor/neo-tree-nvim.lua +++ b/nvim/lua/plugins/editor/neo-tree-nvim.lua @@ -61,13 +61,10 @@ return { local events = require('neo-tree.events') for _, type in ipairs({ 'Error', 'Warn', 'Info', 'Hint' }) do - vim.fn.sign_define( - 'DiagnosticSign' .. type, - { - text = icons.diagnostics[type] .. ' ', - texthl = 'DiagnosticSign' .. type, - } - ) + vim.fn.sign_define('DiagnosticSign' .. type, { + text = icons.diagnostics[type] .. ' ', + texthl = 'DiagnosticSign' .. type, + }) end local function on_move(data) @@ -92,10 +89,13 @@ return { filtered_items = { visible = true, hide_dotfiles = false, + hide_gitignored = false, + hide_hidden = false, }, }, window = { + width = 30, mappings = { ['l'] = 'open', ['h'] = 'close_node',