GoldenView.Vim
GoldenView.Vim copied to clipboard
Error when opening Vim
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.
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.
I've done PR https://github.com/zhaocai/GoldenView.Vim/pull/25 for this issue.