nvim-config

Log | Files | Refs | Submodules | README

commit b56bf2747cba13ecf14032383bfabac9141bf48e
parent 93efd62658e5db23dcf25e5396603af348c811cb
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date:   Wed,  8 Dec 2021 18:49:33 +0100

fix(snippet): add safety luasnip mapping

Allows to jump to the next snippet item

Diffstat:
Mafter/plugin/mappings.vim | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/after/plugin/mappings.vim b/after/plugin/mappings.vim @@ -13,6 +13,7 @@ imap <silent> <Tab> <CMD>lua tab_complete()<CR> smap <silent> <Tab> <CMD>lua tab_complete()<CR> smap <silent> <C-l> <Plug>luasnip-jump-next +imap <silent> <C-l> <Plug>luasnip-jump-next imap <expr> <S-Tab> pumvisible() ? "\<C-P>" : "\<S-TAB>"