Comments (4)
Hm... I can't reproduce with your minimal config.
2022-10-15.15.59.56.mov
from vim-vsnip.
Sorry.
mapping Not enough ().
scriptversion 4
call plug#begin()
Plug 'junegunn/vim-plug'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'prabirshrestha/asyncomplete-lsp.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'
Plug 'rafamadriz/friendly-snippets'
call plug#end()
imap <expr> <C-j> vsnip#expandable() ? '<Plug>(vsnip-expand)' : '<C-j>'
smap <expr> <C-j> vsnip#expandable() ? '<Plug>(vsnip-expand)' : '<C-j>'
imap <expr> <C-l> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-l>'
smap <expr> <C-l> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-l>'
" map additional beginning
imap <expr> <C-y> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-y>'
smap <expr> <C-y> vsnip#available(1) ? '<Plug>(vsnip-expand-or-jump)' : '<C-y>'
" map additional ending
set viminfo+=n~/.vim/viminfo
set background=dark
" The below setting has nothing to do with the issue.
" To make it easier to understand the mode in the video.
colorscheme desert
filetype plugin on
set laststatus=2
augroup InsertStatus
autocmd!
autocmd InsertEnter * highlight StatusLine ctermfg=red guibg=red
autocmd InsertLeave * highlight StatusLine ctermfg=white guibg=white
augroup END
from vim-vsnip.
Fixed by abfe841
from vim-vsnip.
Thanks.
confirm to fix
from vim-vsnip.
Related Issues (20)
- Selection could be broken when selection is exclusive HOT 2
- TAB jump no longer works after selecting completion with special chars HOT 8
- Beginner issue: unsure of the correct configuration
- How to prevent vsnip from jumping to the end of snippet when $0 isn't present in the snippet?
- Space within an element breaks the snippet flow HOT 1
- Context (?) bug when adding text to a placeholder that is identical to text following the placeholder HOT 1
- Snippets not loaded under macro HOT 1
- Warn the user when snippets are loaded improperly due to json syntax error
- Duplicate lines after switching from Insert mode to Normal Mode
- Is possible run code on snippet spand.
- Highlight placeholders
- Support `scope` field HOT 1
- Completion menu does not show multiple snippets with same prefix
- Change vsnip_snippet_dir HOT 1
- Backslash in trigger
- Raise a clear warning message on startup when a snippets JSON file is invalid
- Placeholder more than 9 have issues
- expand wrong for `$` HOT 6
- Solution to vscode-go snippets not loading
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vim-vsnip.