From 533c40395c2073340a613f9569b4d20ab84d498a Mon Sep 17 00:00:00 2001 From: Wes Turner <50891+westurner@users.noreply.github.com> Date: Tue, 17 Sep 2024 03:42:22 -0400 Subject: [PATCH] typo(guide): Key binding not defined --- autoload/SpaceVim/mapping/guide.vim | 4 ++-- lua/spacevim/plugin/guide.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/autoload/SpaceVim/mapping/guide.vim b/autoload/SpaceVim/mapping/guide.vim index c0cf3d385..3843179de 100644 --- a/autoload/SpaceVim/mapping/guide.vim +++ b/autoload/SpaceVim/mapping/guide.vim @@ -625,9 +625,9 @@ else let name = SpaceVim#mapping#leader#getName(s:prefix_key) let _keys = join(keys, '-') if empty(_keys) - call s:build_mpt(['key bindings is not defined: ', name . '-' . inp]) + call s:build_mpt(['Key binding not defined: ', name . '-' . inp]) else - call s:build_mpt(['key bindings is not defined: ', name . '-' . _keys . '-' . inp]) + call s:build_mpt(['Key binding not defined: ', name . '-' . _keys . '-' . inp]) endif let s:prefix_key_inp = [] let s:guide_help_mode = 0 diff --git a/lua/spacevim/plugin/guide.lua b/lua/spacevim/plugin/guide.lua index efd38b255..e0b190df8 100644 --- a/lua/spacevim/plugin/guide.lua +++ b/lua/spacevim/plugin/guide.lua @@ -756,9 +756,9 @@ wait_for_input = function() local name = M.getName(prefix_key) local _keys = vim.fn.join(keys, '-') if vim.fn.empty(_keys) == 1 then - warn_not_defined({ 'Key bindings is not defined: ', name .. '-' .. inp }) + warn_not_defined({ 'Key binding not defined: ', name .. '-' .. inp }) else - warn_not_defined({ 'key bindings is not defined: ', name .. '-' .. _keys .. '-' .. inp }) + warn_not_defined({ 'Key binding not defined: ', name .. '-' .. _keys .. '-' .. inp }) end prefix_key_inp = {} guide_help_mode = false