added md preview
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user