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

Prevent deoplete from showing the match x of x message #144

Closed
svanharmelen opened this issue Jan 29, 2016 · 6 comments
Closed

Prevent deoplete from showing the match x of x message #144

svanharmelen opened this issue Jan 29, 2016 · 6 comments

Comments

@svanharmelen
Copy link
Contributor

image

And/or:

image

I use vim-go with this recent PR fatih/vim-go#685 This works very nice, but now as soon as I start typing in my function parameters, it starts to autocomplete (using the buffer source) which then shows the match x of x or The only match message.

Is there any way to prevent that message from displaying?

@svanharmelen svanharmelen changed the title Prevent deoplete from showing the match x of x info Prevent deoplete from showing the match x of x message Jan 29, 2016
@Shougo
Copy link
Owner

Shougo commented Jan 30, 2016

Please read the deoplete documentation.

Q: I want to get quiet messages in auto completion.

A: You can disable the messages through the 'shortmess' option.
>
    if has("patch-7.4.314")
      set shortmess+=c
    endif
<

@Shougo Shougo closed this as completed Jan 30, 2016
@svanharmelen
Copy link
Contributor Author

Thanks for your reaction! I did try that, but didn't work. So thought this was about something else...

I'm using neovim, should this setting still work in that case?

@Shougo
Copy link
Owner

Shougo commented Jan 30, 2016

I cannot reproduce your problem.

set rtp+=~/work/deoplete.nvim/
set rtp+=~/work/deoplete-jedi/

let g:deoplete#omni#input_patterns = {}
let g:deoplete#omni#input_patterns.python = ''

let g:deoplete#enable_at_startup = 1
let g:deoplete#enable_smart_case = 1
inoremap <expr> <Tab>  deoplete#mappings#manual_complete()

syntax enable
filetype plugin indent on

set shortmess+=c
set cmdheight=2
set showmode

It works.
You should create minimal init.vim.

@svanharmelen
Copy link
Contributor Author

Ok... Will double check with a minimal init.nvim and report back.

Thanks!

@svanharmelen
Copy link
Contributor Author

Tested it again, and indeed it works. No clue why it didn't seemed to work the first time I tested this.

Sorry for the noise!

@Shougo
Copy link
Owner

Shougo commented Jan 30, 2016

OK.

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