feat(nvim): only open Neotree on launch when window is bigger than half the screen
This commit is contained in:
parent
2e8faa7657
commit
beed3f59c5
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ let g:minimap_git_colors = 1
|
||||||
|
|
||||||
" Auto open Neo-Tree on big enough window
|
" Auto open Neo-Tree on big enough window
|
||||||
function! OpenTree() abort
|
function! OpenTree() abort
|
||||||
if &columns > 70
|
if &columns > 100
|
||||||
Neotree show
|
Neotree show
|
||||||
Neotree close
|
Neotree close
|
||||||
Neotree show
|
Neotree show
|
||||||
|
|
Loading…
Reference in a new issue