mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-03 00:40:05 +08:00
Compare commits
No commits in common. "08719ccab2073b4c12f2c6b318eba63b87e35180" and "24ca491c539f19fee4822abeb55a23d68aaf0621" have entirely different histories.
08719ccab2
...
24ca491c53
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -133,9 +133,7 @@ local function format_displaystring(map)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local display = vim.g['leaderGuide#displayname']
|
local display = vim.g['leaderGuide#displayname']
|
||||||
if vim.g['leaderGuide#displayname'] then
|
vim.cmd('unlet g:leaderGuide#displayname')
|
||||||
vim.cmd('unlet g:leaderGuide#displayname')
|
|
||||||
end
|
|
||||||
return display
|
return display
|
||||||
end
|
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, key, '', '')
|
||||||
mapd.lhs = cmp.fn.substitute(mapd.lhs, '<Space>', ' ', 'g')
|
mapd.lhs = cmp.fn.substitute(mapd.lhs, '<Space>', ' ', 'g')
|
||||||
mapd.lhs = cmp.fn.substitute(mapd.lhs, '<Tab>', '<C-I>', '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
|
if mapd.lhs ~= '' and mapd.display ~= 'LeaderGuide.*' then
|
||||||
mapd.lhs = string_to_keys(mapd.lhs)
|
mapd.lhs = string_to_keys(mapd.lhs)
|
||||||
if
|
if
|
||||||
|
Loading…
Reference in New Issue
Block a user