deoplete-clang
deoplete-clang copied to clipboard
When I get completion, it doesn't complete further than one level.
Problems summary
I have a class Renderer which has a member LineBuffer extra_line_buffer
. I get completion on this: , but when I write renderer.extra_line_buffer.
, I get no completion. Here are the header files https://bpaste.net/show/5d93c315347d. The Render object is in main.c++ in the main
function.
Environment Information
- OS: Arch Linux
- Neovim version:
Provide a minimal init.vim with less than 50 lines and not plugin manager (Required!)
" Deoplete
let g:deoplete#enable_at_startup = 1
let g:deoplete#sources#clang#libclang_path = '/usr/lib/libclang.so'
let g:deoplete#sources#clang#clang_header = '/usr/lib/clang'
let g:deoplete#sources#clang#std#cpp = 'c++11'
syntax enable
filetype plugin indent on
let $NVIM_TUI_ENABLE_CURSOR_SHAPE=1
" Files
set backup
set backupdir=~/.local/share/nvim/backup
set directory=~/.local/share/nvim/swap
set undofile
set undodir=~/.local/share/nvim/undo
" Basic configuration
set expandtab
set shiftwidth=4
set tabstop=4
set softtabstop=4
set clipboard+=unnamedplus
set showcmd
set number
set scrolloff=15
set hlsearch
set cursorline
set nocompatible
set esckeys
autocmd BufNewFile, BufRead *.c++ setfiletype cpp
Generate a logfile if appropriate
http://sprunge.us/XeYB
Sorry again that I don't have a test case. I made a test case with nested a class members in a class, but it worked there... I don't know what to do except post here.
@Ploppz Your example is too long. Please create more simple example. I will test it.
@Ploppz Please test it with vim-marching.
https://github.com/osyo-manga/vim-marching
Please read it. It seems same problem.
https://github.com/zchee/deoplete-clang/issues/43#issuecomment-235557371