float variable become following.
let g:Foo = 1.2
set sessionoptions+=globals
mksession
----
let g:Foo = &1.200000
----
below is a patch.
diff -r 484291e1a8da src/eval.c
--- a/src/eval.c Mon Jan 23 20:48:40 2012 +0100
+++ b/src/eval.c Wed Jan 25 12:39:07 2012 +0900
@@ -22929,7 +22929,7 @@
f = -f;
sign = '-';
}
- if ((fprintf(fd, "let %s = %c&%f",
+ if ((fprintf(fd, "let %s = %c%f",
this_var->di_key, sign, f) < 0)
|| put_eol(fd) == FAIL)
return FAIL;
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php