Skip to content

Commit

Permalink
tab_switcher: core.warning() -> core.warn() (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
vqns authored Mar 8, 2024
1 parent 310f6f9 commit 90567c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions plugins/tab_switcher.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 90567c6

Please sign in to comment.