vim-crunch icon indicating copy to clipboard operation
vim-crunch copied to clipboard

User defined variables evaluate incorrectly when prepended with a number during evaluation

Open arecarn opened this issue 6 years ago • 0 comments

e.g.

Given:

let g:crunch_user_variables = {'pi':3.14159265359}

Then following occours. because in the second line the 2 is being prepended infront of the pi constant and not being multiplied like expected.

2*pi = 6.283186
2pi = 23.141593  "expected 6.283186"

arecarn avatar Aug 13 '19 19:08 arecarn