feat(nvim): only open Neotree on launch when window is bigger than half the screen

This commit is contained in:
matt1432 2023-10-12 01:02:29 -04:00
parent 2e8faa7657
commit beed3f59c5

View file

@ -41,7 +41,7 @@ let g:minimap_git_colors = 1
" Auto open Neo-Tree on big enough window
function! OpenTree() abort
if &columns > 70
if &columns > 100
Neotree show
Neotree close
Neotree show