From a29d627dd8fa805664426181cd8c70689ea4dd86 Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 5 Jan 2024 17:48:47 +0100 Subject: Remove syntax plugin --- plugin/snip.vim | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 plugin/snip.vim (limited to 'plugin') diff --git a/plugin/snip.vim b/plugin/snip.vim deleted file mode 100644 index 5f8bfc3..0000000 --- a/plugin/snip.vim +++ /dev/null @@ -1,30 +0,0 @@ -" Use for trigger snippet expand. -imap (coc-snippets-expand) - -" Use for select text for visual placeholder of snippet. -vmap (coc-snippets-select) - -" Use for jump to next placeholder, it's default of coc.nvim -let g:coc_snippet_next = '' - -" Use for jump to previous placeholder, it's default of coc.nvim -let g:coc_snippet_prev = '' - -" Use for both expand and jump (make expand higher priority.) -imap (coc-snippets-expand-jump) - -" Use x for convert visual selected code to snippet -xmap x (coc-convert-snippet) - -inoremap - \ pumvisible() ? coc#_select_confirm() : - \ coc#expandableOrJumpable() ? "\=coc#rpc#request('doKeymap', ['snippets-expand-jump',''])\" : - \ check_back_space() ? "\" : - \ coc#refresh() - -function! s:check_back_space() abort - let col = col('.') - 1 - return !col || getline('.')[col - 1] =~# '\s' -endfunction - -let g:coc_snippet_next = '' -- cgit v1.2.3-54-g00ecf