mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 20:55:18 -07:00
fix(fswatch): --latency is locale dependent
This commit is contained in:
parent
b465ede2c7
commit
06fcf71bd0
@ -303,6 +303,8 @@ function M.fswatch(path, opts, callback)
|
|||||||
fswatch_output_handler(line, opts, callback)
|
fswatch_output_handler(line, opts, callback)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
|
-- --latency is locale dependent but tostring() isn't and will always have '.' as decimal point.
|
||||||
|
env = { LC_NUMERIC = 'C' },
|
||||||
})
|
})
|
||||||
|
|
||||||
return function()
|
return function()
|
||||||
|
Loading…
Reference in New Issue
Block a user