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

Compare commits

..

No commits in common. "08719ccab2073b4c12f2c6b318eba63b87e35180" and "24ca491c539f19fee4822abeb55a23d68aaf0621" have entirely different histories.

4 changed files with 2 additions and 4 deletions

View File

@ -133,9 +133,7 @@ local function format_displaystring(map)
end
local display = vim.g['leaderGuide#displayname']
if vim.g['leaderGuide#displayname'] then
vim.cmd('unlet g:leaderGuide#displayname')
end
return display
end
@ -273,7 +271,7 @@ local function start_parser(key, dict)
mapd.lhs = cmp.fn.substitute(mapd.lhs, key, '', '')
mapd.lhs = cmp.fn.substitute(mapd.lhs, '<Space>', ' ', 'g')
mapd.lhs = cmp.fn.substitute(mapd.lhs, '<Tab>', '<C-I>', 'g')
mapd.rhs = cmp.fn.substitute(mapd.rhs, '<SID>', '<SNR>' .. (mapd['sid'] or '') .. '_', 'g')
mapd.rhs = cmp.fn.substitute(mapd.rhs, '<SID>', '<SNR>' .. mapd['sid'] .. '_', 'g')
if mapd.lhs ~= '' and mapd.display ~= 'LeaderGuide.*' then
mapd.lhs = string_to_keys(mapd.lhs)
if