-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
Vista fails on c++ file #82
Comments
I can't reproduce with this minimal vimrc: call plug#begin('~/.vim/plugged')
Plug 'liuchengxu/vista.vim'
call plug#end()
let g:vista#executive#ctags#support_json_format = 1
let g:vista#executives = ['coc', 'ctags', 'lcn', 'vim_lsp']
let g:vista#render#ctags = 'default'
let g:vista#renderer#ctags = 'default'
let g:vista#renderer#default#vlnum_offset = 3
let g:vista#renderer#enable_icon = 1
let g:vista#renderer#icons = {'subroutine': '洛', 'method': '', 'func': '', 'variables': '', 'namespace': '', 'field': '綠', 'interface': '禍', 'type': '', 'packages': '', 'property': '襁', 'implementation': '', 'default': '', 'augroup': 'פּ', 'macro': '', 'enumerator': '', 'const': '', 'macros': '', 'map': 'פּ', 'fields': '綠', 'functions': '', 'enum': '', 'function': '', 'target': '', 'typedef': '', 'variable': '', 'modules': '', 'constant': '', 'struct': 'פּ', 'types': '', 'module': '', 'typeParameter': '', 'package': '', 'class': '', 'member': '', 'var': '', 'union': '鬒'}
let g:vista_cursor_delay = 0
let g:vista_sidebar_width = 35
let g:vista_stay_on_open = 0 You have to see whether some other plugins result in your issue. |
I'm not sure if it's a problem of neovim. Try updating your neovim? Here is my neovim version:
|
Same error with ( neovim was built from git )
|
Does this error only occur in the cpp/.h file or apply everywhere? Does it happen in vim? |
Only some cpp files. Everything is fine on this file with |
That's really weird. I'm not familiar with |
I've figured output pattern to brake this. It fails on c++ destructors. So this example can be used instead. class Foo {
~Foo() {
}
}; How |
|
Glad to see it's resolved. |
Having the same problem. In some cpp files, missing function items in vista window, while there are corresponding functions in the tag file after execute ctags command:
|
vista
fails with:OS: Arch Linux.
Output of
ctags --version
neovim
versionvista
version:0e3e3a60f5d657f24a787472e4dbc7a7a706b4d6
File for reproduction ( convert to
.h
)SmallVector.txt
Vista info
Steps to reproduce given the above info
Expected behavior
Show tags
Actual behavior
Error
The text was updated successfully, but these errors were encountered: