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

E121: Undefined variable: b:projectionist with vim foo.txt (new file) #23

Closed
blueyed opened this issue Jun 4, 2014 · 2 comments
Closed

Comments

@blueyed
Copy link
Contributor

blueyed commented Jun 4, 2014

vim foo.txt (where foo.txt does not exist) throws this error:

"foo.txt" [New File]
Error detected while processing BufNewFile Auto commands for "*":
E121: Undefined variable: b:projectionist
E116: Invalid arguments for function empty(b:projectionist) |   call projectionist#apply_template() | end
if
E15: Invalid expression: !empty(b:projectionist) |   call projectionist#apply_template() | endif

This does not happen for foo - a file extension is required to trigger it.

@tpope
Copy link
Owner

tpope commented Jun 4, 2014

A file extension? Or a file with a valid filetype?

@blueyed
Copy link
Contributor Author

blueyed commented Jun 5, 2014

Not sure..
I cannot reproduce it anymore now, even from the same directory as before.

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

2 participants