Closed rhcher closed 2 years ago
I don't have the bandwidth to make a fix right now, but if someone can try the proposed fix, run some tests, and submit a pull request, I'm happy to review!
I think this https://github.com/metakirby5/codi.vim/pull/151 PR should fix the issue.
Issue description
.vimrc
that will reproduce the issueif &compatible set nocompatible endif
let s:plug_dir = expand('/tmp/plugged/vim-plug') if !filereadable(s:plug_dir .. '/plug.vim') execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir) end
execute 'set runtimepath+=' . s:plug_dir call plug#begin(s:plug_dir) Plug 'dcampos/nvim-snippy' Plug 'honza/vim-snippets' Plug 'metakirby5/codi.vim' call plug#end() PlugInstall | quit
imap snippy#can_expand_or_advance() ? '(snippy-expand-or-advance)' : ''
imap snippy#can_jump(-1) ? '(snippy-previous)' : ''
smap snippy#can_jump(1) ? '(snippy-next)' : ''
smap snippy#can_jump(-1) ? '(snippy-previous)' : ''
xmap (snippy-cut-text)
lua << EOF require('snippy').setup({ hl_group = 'Search', }) EOF
NVIM v0.7.0-dev+920-g7e2ce35e3b