From 601c89f6d6eacd0211c9cf66cc63a0421d2c5cc4 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Wed, 20 Mar 2024 19:36:14 -0700 Subject: [PATCH] remove neotree config, add pycache to ignore --- lua/configs/neotree.lua | 28 ---------------------------- lua/configs/nvim-tree.lua | 1 + 2 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 lua/configs/neotree.lua diff --git a/lua/configs/neotree.lua b/lua/configs/neotree.lua deleted file mode 100644 index 947baa1..0000000 --- a/lua/configs/neotree.lua +++ /dev/null @@ -1,28 +0,0 @@ -local function config() - local neotree = require('neo-tree') - neotree.setup({ - enable_diagnostics = false, - filesystem = { - filtered_items = { - hide_gitignored = false, - always_show = { - '.github', - '.gitignore', - }, - never_show = { -- hide_by_name - '__pycache__', - }, - }, - follow_current_file = { - enabled = true, - }, - }, - window = { - mappings = { - ['/'] = 'none', -- disable fuzzy finder - }, - }, - }) -end - -return config diff --git a/lua/configs/nvim-tree.lua b/lua/configs/nvim-tree.lua index be4cc93..0497ecd 100644 --- a/lua/configs/nvim-tree.lua +++ b/lua/configs/nvim-tree.lua @@ -13,6 +13,7 @@ local function config() '^\\.test_cache$', '^\\.coverage$', '^node_modules$', + '^__pycache__$', }, }, view = {