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

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

Open
Ploppz opened this issue Jul 16, 2016 · 3 comments
Open

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

Ploppz opened this issue Jul 16, 2016 · 3 comments

Comments

@Ploppz
Copy link

Ploppz commented Jul 16, 2016

Problems summary

I have a class Renderer which has a member LineBuffer extra_line_buffer. I get completion on this: screenshot, 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.

@Shougo
Copy link
Collaborator

Shougo commented Jul 17, 2016

@Ploppz Your example is too long.
Please create more simple example.
I will test it.

@Shougo
Copy link
Collaborator

Shougo commented Jul 17, 2016

@Ploppz Please test it with vim-marching.

https://github.com/osyo-manga/vim-marching

@Shougo
Copy link
Collaborator

Shougo commented Jul 27, 2016

Please read it.
It seems same problem.

#43 (comment)

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

No branches or pull requests

2 participants