Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Fix] closing of collapsible directories in NERDTree plugin#432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
juliuszint wants to merge1 commit intoryanoasis:master
base:master
Choose a base branch
Loading
fromjuliuszint:fix-closedir

Conversation

@juliuszint
Copy link

@juliuszintjuliuszint commentedJul 16, 2022
edited
Loading

The NERDTree plugin will under some conditions fail to close a collapisble directory with the error message: "cannot close tree root". This commit replaces the traversing logic for collapsible directories when closing with the latest code from NERDTree.

To reproduce this error useg:NERDTreeCascadeSingleChildDir=0 andg:NERDTreeCascadeOpenSingleChildDir=1. Then the following directory tree:

dir-a    dir-b        dir-cdir-d

Go overdir-c and press "x" to close this node.

Requirements (please check off with 'x')

The NERDTree plugin will under some conditions fail to close acollapisble directory with the error message: "cannot close tree root".This commit replaces the traversing logic for collapsible directorieswhen closing with the latest code from NERDTree.To reproduce this error use 'g:NERDTreeCascadeSingleChildDir=0' and'g:NERDTreeCascadeOpenSingleChildDir=1'. Then the following dir tree:dir-a    dir-b        dir-cdir-dGo over dir-c and press "x" to close this node.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@lkabucilkabucilkabuci approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@juliuszint@lkabuci

[8]ページ先頭

©2009-2025 Movatter.jp