1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

typo(guide): Key binding not defined

This commit is contained in:
Wes Turner 2024-09-17 03:42:22 -04:00 committed by GitHub
parent 0aa951d7e9
commit 533c40395c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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