forked from luna/vim-rana-local
replace comma with period anywhere a float gets converted to a string
This commit is contained in:
parent
2a2f532d19
commit
a7fa999666
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ let s:VERSION = '1.2.3'
|
||||||
|
|
||||||
function! s:SetLastAction(time, last_update, targetFile)
|
function! s:SetLastAction(time, last_update, targetFile)
|
||||||
let s:fresh = 0
|
let s:fresh = 0
|
||||||
call writefile([printf('%f', a:time), printf('%f', a:last_update), a:targetFile], expand("$HOME/.wakatime.data"))
|
call writefile([substitute(printf('%f', a:time), ',', '.', ''), substitute(printf('%f', a:last_update), ',', '.', ''), a:targetFile], expand("$HOME/.wakatime.data"))
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! s:GetChar()
|
function! s:GetChar()
|
||||||
|
|
Loading…
Reference in a new issue