aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2021-06-08 00:45:54 -0400
committerjgmdev <jgmdev@gmail.com>2021-06-08 00:45:54 -0400
commitae54c12ce120a4169012a511f44d4b2916b657f6 (patch)
tree96b42a2fb44ae2727c2e9142abe3a46213782086
parent6b541da4c773eb7f44caab69c06f37b085bc6834 (diff)
downloadlite-xl-plugins-ae54c12ce120a4169012a511f44d4b2916b657f6.tar.gz
lite-xl-plugins-ae54c12ce120a4169012a511f44d4b2916b657f6.zip
[navigate] Remove not needed system.window_has_focus() check.
-rw-r--r--plugins/navigate.lua7
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)