vim-nerdtree ignore dirs not anything
authorRyan Burnette <ryan.burnette@gmail.com>
Sat, 31 Jul 2021 21:16:56 +0000 (17:16 -0400)
committerAJ ONeal <coolaj86@gmail.com>
Sat, 31 Jul 2021 21:19:15 +0000 (15:19 -0600)
vim-nerdtree/nerdtree.vim

index 8b12d883bae3b91cc2d3a8c31a1e56e28ee42914..b29370e15a0730a88326f04ff456896aa49de92a 100644 (file)
@@ -12,7 +12,7 @@ nnoremap <leader>f :NERDTreeFind<CR>
 let NERDTreeShowHidden=1
 
 " keep ignoring .git, node_modules, vendor, and dist
-let NERDTreeIgnore=["\.git", "node_modules", "vendor", "dist"]
+let NERDTreeIgnore=["\.git/", "node_modules/", "vendor/", "dist/"]
 
 " Start NERDTree when Vim is started without file arguments.
 autocmd StdinReadPre * let s:std_in=1