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

Error when opening Vim #21

Open
lauritzsh opened this issue May 11, 2015 · 2 comments
Open

Error when opening Vim #21

lauritzsh opened this issue May 11, 2015 · 2 comments

Comments

@lauritzsh
Copy link

Hi, whenever I'm opening Vim I'm getting an error related to GoldenView.

Error detected while processing function GoldenView#EnableAutoResize..GoldenView#Init:
line    5:
E806: using Float as a String
E15: Invalid expression: 1.618
Error detected while processing function GoldenView#EnableAutoResize..<SNR>35_set_focus_window..<SNR>35_eval..GoldenView#TextWidth..GoldenView#GoldenWidth:
line    1:
E121: Undefined variable: s:goldenview__golden_ratio
E116: Invalid arguments for function float2nr(&columns / s:goldenview__golden_ratio)
E15: Invalid expression: float2nr(&columns / s:goldenview__golden_ratio)
Error detected while processing /Users/Lauritz/Developer/dotfiles/vim/bundle/GoldenView.Vim/plugin/GoldenView.vim:
line  149:
E171: Missing :endif
Press ENTER or type command to continue

Any idea what this might be? Feels like it came out of the blue and I don't have the same problem on my other computer.
I tried removing all bundles/plugins and re-installing them but didn't help. I'm using Vundle to install Vim plugins.

@TKr
Copy link

TKr commented Feb 1, 2016

Same problem, helped changing terminal. The same version with the same plugins working without problem on different terminal application.

--- update
seems that all problems come from LC_NUMERIC, some locales use comma as float separator.

@TKr
Copy link

TKr commented Feb 4, 2016

I've done PR #25 for this issue.

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