aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorvqn <shira@vqn.li>2024-03-08 20:08:56 +0100
committerGitHub <noreply@github.com>2024-03-08 20:08:56 +0100
commit90567c64fd7e0dac23c99054f25cfd2d084ede7d (patch)
tree0a56e3df29dd1cca99e674b1f0f4ae288c84bd9b /plugins
parent310f6f92a9fbb32664d8b3f56a04891d97c6199c (diff)
downloadlite-xl-plugins-90567c64fd7e0dac23c99054f25cfd2d084ede7d.tar.gz
lite-xl-plugins-90567c64fd7e0dac23c99054f25cfd2d084ede7d.zip
`tab_switcher`: `core.warning()` -> `core.warn()` (#379)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/tab_switcher.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/tab_switcher.lua b/plugins/tab_switcher.lua
index 41fdf84..1144153 100644
--- a/plugins/tab_switcher.lua
+++ b/plugins/tab_switcher.lua
@@ -28,8 +28,8 @@ function keymap.on_key_released(k)
-- Check if hold_mode has been triggered erroneously
if hold_mode and not in_switcher then
hold_mode = false
- core.warning("Something went wrong with the tab_switcher plugin. " ..
- "Please open an issue about it in the plugins repository on Github.")
+ core.warn("Something went wrong with the tab_switcher plugin. " ..
+ "Please open an issue about it in the plugins repository on Github.")
end
local was_pressed = any_true(keymap.modkeys)