diff options
author | Francesco <francesco.bbt@gmail.com> | 2021-06-08 19:14:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-08 19:14:13 +0200 |
commit | 2eb160428bbdefd191e6cee4a58d156fd4dd66c9 (patch) | |
tree | 96b42a2fb44ae2727c2e9142abe3a46213782086 | |
parent | 6b541da4c773eb7f44caab69c06f37b085bc6834 (diff) | |
parent | ae54c12ce120a4169012a511f44d4b2916b657f6 (diff) | |
download | lite-xl-plugins-2eb160428bbdefd191e6cee4a58d156fd4dd66c9.tar.gz lite-xl-plugins-2eb160428bbdefd191e6cee4a58d156fd4dd66c9.zip |
Merge pull request #28 from jgmdev/navigate-plugin
[navigate] Remove not needed system.window_has_focus() check.
-rw-r--r-- | plugins/navigate.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/navigate.lua b/plugins/navigate.lua index 5d37e76..2bf4396 100644 --- a/plugins/navigate.lua +++ b/plugins/navigate.lua @@ -102,12 +102,7 @@ core.add_thread(function() current.col = col end end - - if system.window_has_focus() then - coroutine.yield(0.5) - else - coroutine.yield(config.project_scan_rate) - end + coroutine.yield(0.5) end end) |