deoplete-plugins / deoplete-plugins/deoplete-clang

When I get completion, it doesn't complete further than one level.

Open
#44 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
189
Forks
73
PR merge metrics
No merged PRs in 30d

Description

## Problems summary

I have a class Renderer which has a member `LineBuffer extra_line_buffer`. I get completion on this: ![screenshot](http://i.imgur.com/yPs37rF.png), 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!)

``` vim
" 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.