diff options
author | vqn <shira@vqn.li> | 2024-03-08 20:08:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 20:08:56 +0100 |
commit | 90567c64fd7e0dac23c99054f25cfd2d084ede7d (patch) | |
tree | 0a56e3df29dd1cca99e674b1f0f4ae288c84bd9b | |
parent | 310f6f92a9fbb32664d8b3f56a04891d97c6199c (diff) | |
download | lite-xl-plugins-90567c64fd7e0dac23c99054f25cfd2d084ede7d.tar.gz lite-xl-plugins-90567c64fd7e0dac23c99054f25cfd2d084ede7d.zip |
`tab_switcher`: `core.warning()` -> `core.warn()` (#379)
-rw-r--r-- | manifest.json | 2 | ||||
-rw-r--r-- | plugins/tab_switcher.lua | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/manifest.json b/manifest.json index b848e7a..cf8c9f5 100644 --- a/manifest.json +++ b/manifest.json @@ -1721,7 +1721,7 @@ }, { "description": "Switch between open tabs by searching by name", - "version": "0.2", + "version": "0.3", "path": "plugins/tab_switcher.lua", "id": "tab_switcher", "mod_version": "3" 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) |