Git Product home page Git Product logo

Comments (8)

liuchengxu avatar liuchengxu commented on July 26, 2024

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.

from vista.vim.

leoatchina avatar leoatchina commented on July 26, 2024

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

from vista.vim.

leoatchina avatar leoatchina commented on July 26, 2024

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.

from vista.vim.

liuchengxu avatar liuchengxu commented on July 26, 2024

:Vista and then :echo t:vista.source.scope_seperator(), see if any errors, both in vim and neovim.

from vista.vim.

leoatchina avatar leoatchina commented on July 26, 2024

Just read markdown file
The results of vim is just a single . ?
when neovim
image

from vista.vim.

liuchengxu avatar liuchengxu commented on July 26, 2024

try
return g:vista#types#uctags#{filetype}#['sro']
catch
return '.'
endtry

Then I think neovim should be blamed for not catching the exception.

from vista.vim.

liuchengxu avatar liuchengxu commented on July 26, 2024

Please pull the latest version to see if the error persists.

from vista.vim.

leoatchina avatar leoatchina commented on July 26, 2024

ok, that works

from vista.vim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.