Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange error with NeoVim #511

Closed
SX91 opened this issue Nov 23, 2015 · 2 comments
Closed

Strange error with NeoVim #511

SX91 opened this issue Nov 23, 2015 · 2 comments

Comments

@SX91
Copy link

SX91 commented Nov 23, 2015

When trying to use NERDTreeFind for the second time on empty buffer, NERDTree throws an error:
Error detected while processing function ToggleFindNerd..<SNR>53_findAndRevealPath..209: line 2: E121: Undefined variable: root E15: Invalid expression: getbufvar(t:NERDTreeBufName, 'NERDTree').root Error detected while processing function ToggleFindNerd..<SNR>53_findAndRevealPath: line 27: E121: Undefined variable: path E116: Invalid arguments for function 123 E15: Invalid expression: !p.isUnder(g:NERDTreeFileNode.GetRootForTab().path) Error detected while processing function ToggleFindNerd..<SNR>53_findAndRevealPath..306..316: line 2: E605: Exception not caught: NERDTree.TreeNotOpen Error detected while processing function ToggleFindNerd: line 4: E171: Missing :endif"

And there's some other strange error:
Error detected while processing function ToggleFindNerd..<SNR>53_findAndRevealPath: line 33: E716: Key not present in Dictionary: setShowHidden
It happens if I run :NERDTree and then :NERDTreeToggle, :NERDTreeFind.

vimrc: https://github.com/begriffs/haskell-vim-now/blob/master/.vimrc

@SX91
Copy link
Author

SX91 commented Nov 30, 2015

Steps to reproduce:

  • Open nvim
  • :NERDTreeFind
  • :NERDTreeToggle
  • :NERDTreeFind

@SX91
Copy link
Author

SX91 commented Dec 3, 2015

It was NeoVim bug. It saved unlisted buffers with viminfo^=%.

@SX91 SX91 closed this as completed Dec 3, 2015
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

No branches or pull requests

1 participant