maralla / completor.vim

Async completion framework made ease.
MIT License
1.27k stars 63 forks source link

C++ - method suggestion completes with unwanted characters #246

Closed adasium closed 5 years ago

adasium commented 5 years ago

image

As you can see, besides name function (<#Postac &przeciwnik#>) is inserted. Minimal .vimrc:

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
call plug#begin()
    Plug 'maralla/completor.vim'
    Plug 'roxma/nvim-yarp'
    Plug 'roxma/vim-hug-neovim-rpc'
call plug#end()            " required

filetype plugin indent on    " required
let g:completor_clang_binary = '/usr/bin/clang'
DCsunset commented 5 years ago

You can use the option

let g:completor_clang_disable_placeholders = 1

to disable the insertion of placeholders.

adasium commented 5 years ago

Oh, my bad. I somehow missed that in the docs and thought it was a bug. Thank you, the issue can be closed.