Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove 'identity completion' #86

Open
andykais opened this issue Aug 20, 2019 · 2 comments
Open

remove 'identity completion' #86

andykais opened this issue Aug 20, 2019 · 2 comments

Comments

@andykais
Copy link

I do not know if this is the expected behavior, but if possible Id like to remove the default completion I am shown by ternjs. This completion just serves as a distraction

Screen Shot 2019-08-20 at 5 01 21 PM

running on macos
nvim v0.3.1
tern v0.24.1

minimal repro vimrc

set runtimepath+=~/.vim/plugged/deoplete.nvim/
set runtimepath+=~/.vim/plugged/deoplete-ternjs/

call plug#begin('~/.vim/plugged')
Plug 'Shougo/deoplete.nvim', {'do': ':UpdateRemotePlugins' }
Plug 'carlitux/deoplete-ternjs', {'do': 'npm -g i tern'}
call plug#end()
"}}}

let g:deoplete#enable_at_startup = 1

let g:deoplete#ignore_sources = {}
let g:deoplete#ignore_sources._ = ['buffer', 'around']

let g:deoplete#sources#ternjs#include_keywords = 0
let g:deoplete#sources#ternjs#types = 1
let g:deoplete#sources#ternjs#case_insensitive = 1
let g:deoplete#sources#ternjs#docs = 1
let g:tern#arguments = ["--no-port-file"]
@carlitux
Copy link
Owner

Could you confirm this behaviour is not same in other text editors?

@andykais
Copy link
Author

Im not sure what you mean by other text editors. I can confirm though if I take the same config and comment out the ternjs lines that the completion disappears

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants