added md preview

This commit is contained in:
Norm Rasmussen
2022-07-20 14:53:53 -04:00
parent 8200c5aac4
commit cb9f7d2b8b
4 changed files with 28 additions and 22 deletions

View File

@ -37,7 +37,7 @@ cmp.setup {
},
-- Tab mapping
['<Tab>'] = function(fallback)
['<leader>g'] = function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
@ -46,7 +46,7 @@ cmp.setup {
fallback()
end
end,
['<S-Tab>'] = function(fallback)
['<leader>h'] = function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable(-1) then