diff options
author | Oscar Creator <oscar.creator13@gmail.com> | 2024-03-09 17:10:58 +0100 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-03-10 19:50:32 +0000 |
commit | 06fcf71bd0953baf9dc6d4c4bddf586c448f5ca6 (patch) | |
tree | e1ecd42d613246e72bc8eba389e277cdfe72ff17 /runtime/lua/vim/_watch.lua | |
parent | b465ede2c7a4fb39cf84682d645a3acd08631010 (diff) | |
download | rneovim-06fcf71bd0953baf9dc6d4c4bddf586c448f5ca6.tar.gz rneovim-06fcf71bd0953baf9dc6d4c4bddf586c448f5ca6.tar.bz2 rneovim-06fcf71bd0953baf9dc6d4c4bddf586c448f5ca6.zip |
fix(fswatch): --latency is locale dependent
Diffstat (limited to 'runtime/lua/vim/_watch.lua')
-rw-r--r-- | runtime/lua/vim/_watch.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/_watch.lua b/runtime/lua/vim/_watch.lua index 97c5481ad1..cf2689861a 100644 --- 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() |