commit 06fcf71bd0953baf9dc6d4c4bddf586c448f5ca6
parent b465ede2c7a4fb39cf84682d645a3acd08631010
Author: Oscar Creator <oscar.creator13@gmail.com>
Date: Sat, 9 Mar 2024 17:10:58 +0100
fix(fswatch): --latency is locale dependent
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtime/lua/vim/_watch.lua b/runtime/lua/vim/_watch.lua
@@ -303,6 +303,8 @@ function M.fswatch(path, opts, callback)
fswatch_output_handler(line, opts, callback)
end
end,
+ -- --latency is locale dependent but tostring() isn't and will always have '.' as decimal point.
+ env = { LC_NUMERIC = 'C' },
})
return function()