We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c2a0fe commit 5ae8cffCopy full SHA for 5ae8cff
autoload/GoldenView.vim
@@ -25,7 +25,13 @@ function! GoldenView#Init()
25
return
26
endif
27
28
- let s:goldenview__golden_ratio = 1.618
+ let l:golden_ratio_dot = str2float("1.612")
29
+ let l:golden_ratio_comma = str2float("1,612")
30
+ if l:golden_ratio_dot > l:golden_ratio_comma
31
+ let s:goldenview__golden_ratio = l:golden_ratio_dot
32
+ else
33
+ let s:goldenview__golden_ratio = l:golden_ratio_comma
34
+ endif
35
lockvar s:goldenview__golden_ratio
36
37
set equalalways
0 commit comments