Closed leoatchina closed 5 years ago
What does :echo g:vista#types#uctags#vim#
and :echo g:vista#types#uctags#vim#['sro']
say?
In addition, have you copied the complete output from :Vista info
? The Global Variables section should contain let g:vista#executive#ctags#support_json_format = 1/0
.
Just open README in vista.vim
echo g:vista#types#uctags#vim#
{'lang': 'vim', 'kinds': {'a': {'long': 'autocommand groups', 'fold': 1, 'stl': 1}, 'c': {'long': 'commands', 'fold': 0, 'stl': 0}, 'f': {'long': 'functions', 'fold': 0, 'stl': 1},
'v': {'long': 'variables', 'fold': 1, 'stl': 0}, 'm': {'long': 'maps', 'fold': 1, 'stl': 0}, 'n': {'long': 'vimball filenames', 'fold': 0, 'stl': 1}}}
echo g:vista#types#uctags#vim#['sro']
E716: Key not present in Dictionary: sro
E15: Invalid expression: g:vista#types#uctags#vim#['sro']
Vista info
Current FileType: markdown
Avaliable Executives: ['ctags']
Global Variables:
let g:vista#executive#ctags#support_json_format = 1
let g:vista#executives = ['coc', 'ctags', 'lcn', 'vim_lsp']
let g:vista#renderer#ctags = 'default'
let g:vista#renderer#enable_icon = 0
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': '', 'pa
ckage': '', 'class': '', 'member': '', 'var': '', 'union': '鬒'}
let g:vista_default_executive = 'ctags'
let g:vista_echo_cursor = 0
let g:vista_icon_indent = ['╰─ ', '├─ ']
let g:vista_sidebar_position = 'vertical topleft'
let g:vista_stay_on_open = 0
Sorry, it's my mistake. I have tried neovim again , and found the errors happend with vim
markdown
css
and js
(but different dict key error). Worked well with php
, python
. I will try some other type of source files.
:Vista
and then :echo t:vista.source.scope_seperator()
, see if any errors, both in vim and neovim.
Just read markdown
file
The results of vim
is just a single .
?
when neovim
Then I think neovim should be blamed for not catching the exception.
Please pull the latest version to see if the error persists.
ok, that works
Describe the bug As the title, an error raised when use neovim in Ubuntu18.04
Environment:
Vim8
works good