-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
If you're having trouble with NCM2, Please provide the following information
along with your detailed issue description:
OS
arch linux
(If you're using Linux, sharing a reproducible, vimrc minimized docker image,
can definitely help solving the issue)
neovim :version
output
NVIM v0.4.0-83-gf3d2d3c81
Build type: RelWithDebInfo
LuaJIT 2.0.5
Compilation: /usr/bin/cc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-str
ong -fno-plt -Wshadow -Wconversion -O2 -g -DMIN_LOG_LEVEL=3 -Og -g -Wall -Wextra -ped
antic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-fallthrough -Wv
la -fstack-protector-strong -fdiagnostics-color=auto -Wno-array-bounds -DINCLUDE_GENE
RATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM
-I/home/pittcat/.cache/yay/neovim-git/src/neovim-git/build/config -I/home/pittcat/.c
ache/yay/neovim-git/src/neovim-git/src -I/usr/include -I/home/pittcat/.cache/yay/neov
im-git/src/neovim-git/build/src/nvim/auto -I/home/pittcat/.cache/yay/neovim-git/src/n
eovim-git/build/include
Compiled by pittcat@pittcat-pc
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"
Run :checkhealth for more info
Minimal vimrc for reproducing the issue
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'ncm2/ncm2'
Plug 'roxma/nvim-yarp'
Plug 'ncm2/ncm2-bufword'
Plug 'wellle/tmux-complete.vim'
Plug 'ncm2/ncm2-path'
Plug 'fgrsnau/ncm2-otherbuf', { 'branch': 'ncm2','on_event': ['CursorHold', 'CursorHoldI', 'InsertEnter']}
Plug 'ncm2/ncm2-ultisnips'
Plug 'ncm2/ncm2-vim',{'for':'vim'}
Plug 'Shougo/neco-vim',{'for':'vim'}
Plug 'filipekiss/ncm2-look.vim',{'for':'markdown'}
" languages
Plug 'ncm2/ncm2-tern', {'do': 'npm install','for':['javascript','javascript.jsx']}
Plug 'ncm2/ncm2-jedi',{'for':'python'}
let g:ncm2#auto_popup=1
set completeopt=noselect,menuone,noinsert
autocmd InsertEnter * call ncm2#enable_for_buffer()
" au TextChangedI * call ncm2#auto_trigger()
inoremap <silent> <expr> <CR> ncm2_ultisnips#expand_or("\<CR>", 'n')
function! Multiple_cursors_before()
call ncm2#lock('vim-multiple-cursors')
endfunction
function! Multiple_cursors_after()
call ncm2#unlock('vim-multiple-cursors')
endfunction
" common
call ncm2#override_source('ultisnips', {'priority': 10})
neovim :messages
output when the error occurs
Log files if you think the issue is a bug
https://asciinema.org/a/3UbvL1wFsToAEVLtWAfBxr9qb
reproduce the issue
You can try this code snippets in the url.When you use ncm2 and ncm2-tern ,ncm2 will insert a blank line above current cursor after you pressed enter key to complete the completion behaviour,which is unexpected.
Metadata
Metadata
Assignees
Labels
No labels