NerdTabs added#25
Conversation
|
This pull is broken. When NERDTree closes and reopens after every save (this includes simply trying to switch between splits!) vim focuses the cursor back on the NERDTree window, causing a loop where you can't focus any other split except NERDTree. |
|
(Also it has enormous stuttering in general on each save) |
|
Yeah, it goes in a loop. I can try to fix those issues if you are willing to merge? |
There was a problem hiding this comment.
Hey @darkcoderrises thank you for your contribution (and apologies for the late response) - yes I'd be willing to merge this if fixed, and have one small request on checking if the Nerdtree plugin exists
| function! s:MakeWorkspace(workspace_save_session) | ||
| if a:workspace_save_session == 1 || get(s:, 'workspace_save_session', 0) == 1 | ||
| let s:workspace_save_session = 1 | ||
| let l:nerd_tree = g:NERDTree.IsOpen() |
There was a problem hiding this comment.
Can you add a check in cases like here where the plugin doesn't exist for a given user?
199504c to
a9ae9ce
Compare
c3275db to
c0d1e43
Compare
I added NerdTree tabs to be closed while making the session and saving it. Please add it as it is a useful feature.