Skip to content

Conversation

@sohunjug
Copy link

Overwrite with Custom configurations when NERDTree lazy loaded

" Refer to https://github.com/junegunn/dotfiles vimrc
MP 'scrooloose/nerdtree', { 'on': ['NERDTreeToggle', 'NERDTreeFind'] }
autocmd! User nerdtree call spacevim#autocmd#nerdtree#Init()
autocmd! User nerdtree call spacevim#autocmd#nerdtree#Init() | if exists('*UserConfig') | call UserConfig() | endif
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not neccessary as you can use autocmd FileType nerdtree call YourNerdtreeConfig() in UserConfig().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants