liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags

Home Page:https://liuchengxu.github.io/vista.vim

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not support Nerd Font v3+

acidghost opened this issue · comments

Describe the bug
The latest release of Nerd Fonts has deprecated a number of icons, most of which are used by Vista (see https://github.com/ryanoasis/nerd-fonts/releases/tag/v3.0.0).

Environment:

  • OS: macOS
  • Vim/Neovim version: NVIM v0.9.0 - Build type: Release
  • This plugin version: cbe87c8
  • I'm using universal-ctags: yes
    • Ctags version: 6.0.0
  • I'm using some LSP client:
    • Related Vim LSP client: nvim_lsp
    • The Vim LSP client version:
    • Have you tried updated to the latest version of this LSP client: Yes

Vista info

    Current FileType: vista
Avaliable Executives: ['ctags']
    Global Variables:
    let g:vista = {'winnr': function('301'), 'tree': {}, 'source': {'fname': '__vista__', 'bufnr': 5, 'get_winid': function('305'), 'winid': 1004, 'winnr': 3, 'extension': function('310'), 'line': function('308'), 'get_winnr': function('304'), 'filetype': function('306'), 'lines': function('307'), 'line_trimmed': function('309'), 'scope_seperator': function('311'), 'fpath': '/Users/acidghost/wa/oss/AFLplusplus/__vista__'}, 'provider': 'ctags', 'without_scope': [{'file': v:true, 'typere
f': 'typename:void', 'name': 'at_exit', 'vlnum': 4, 'line': 48, '_type': 'tag', 'kind': 'function', 'signature': '()'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'usage', 'vlnum': 5, 'line': 121, '_type': 'tag', 'kind': 'function', 'signature': '(u8 * argv0,int more_help)'}, {'file': v:true, 'name': 'DYN_COLOR', 'vlnum': 11, 'line': 219, '_type': 'tag', 'kind': 'macro'}, {'file': v:true, 'name': 'PERSISTENT_MSG', 'vlnum': 12, 'line': 226, '_type': 'tag', 'kind': 'macro'}, {'
file': v:true, 'typeref': 'typename:int', 'name': 'stricmp', 'vlnum': 6, 'line': 384, '_type': 'tag', 'kind': 'function', 'signature': '(char const * a,char const * b)'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'fasan_check_afl_preload', 'vlnum': 7, 'line': 398, '_type': 'tag', 'kind': 'function', 'signature': '(char * afl_preload)'}, {'typeref': 'typename:int', 'name': 'main', 'vlnum': 8, 'line': 444, '_type': 'tag', 'kind': 'function', 'signature': '(int argc,char ** arg
v_orig,char ** envp)'}], 'skip_set_provider': v:false, 'get_tagline_under_cursor': function('303'), 'ctags_cmd': 'ctags --format=2 --excmd=pattern --fields=+nksSaf --extras=+F --sort=no --append=no --language-force=c --c-kinds=pfsdevghtmu --output-format=json --fields=-PF -f- /var/folders/ts/ctssm9nd6332yfcy755_b6ym0000gn/T/5340d1da0c6be006e401f80b5e6f4a875d31d62b85ad710be865eaade730c244.c', 'skip_once_flag': v:false, 'with_scope': [], 'functions': [{'lnum': 48, 'text': 'at_exit', 'sig
nature': '()'}, {'lnum': 121, 'text': 'usage', 'signature': '(u8 * argv0,int more_help)'}, {'lnum': 219, 'text': 'DYN_COLOR'}, {'lnum': 226, 'text': 'PERSISTENT_MSG'}, {'lnum': 384, 'text': 'stricmp', 'signature': '(char const * a,char const * b)'}, {'lnum': 398, 'text': 'fasan_check_afl_preload', 'signature': '(char * afl_preload)'}, {'lnum': 444, 'text': 'main', 'signature': '(int argc,char ** argv_orig,char ** envp)'}], 'raw': [{'file': v:true, 'typeref': 'typename:void', 'name': 'a
t_exit', 'vlnum': 4, 'line': 48, '_type': 'tag', 'kind': 'function', 'signature': '()'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'usage', 'vlnum': 5, 'line': 121, '_type': 'tag', 'kind': 'function', 'signature': '(u8 * argv0,int more_help)'}, {'file': v:true, 'name': 'DYN_COLOR', 'vlnum': 11, 'line': 219, '_type': 'tag', 'kind': 'macro'}, {'file': v:true, 'name': 'PERSISTENT_MSG', 'vlnum': 12, 'line': 226, '_type': 'tag', 'kind': 'macro'}, {'file': v:true, 'typeref': 'type
name:int', 'name': 'stricmp', 'vlnum': 6, 'line': 384, '_type': 'tag', 'kind': 'function', 'signature': '(char const * a,char const * b)'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'fasan_check_afl_preload', 'vlnum': 7, 'line': 398, '_type': 'tag', 'kind': 'function', 'signature': '(char * afl_preload)'}, {'typeref': 'typename:int', 'name': 'main', 'vlnum': 8, 'line': 444, '_type': 'tag', 'kind': 'function', 'signature': '(int argc,char ** argv_orig,char ** envp)'}], 'kinds
': ['function', 'macro'], 'bufnr': 5, 'raw_by_kind': {'function': [{'file': v:true, 'typeref': 'typename:void', 'name': 'at_exit', 'vlnum': 4, 'line': 48, '_type': 'tag', 'kind': 'function', 'signature': '()'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'usage', 'vlnum': 5, 'line': 121, '_type': 'tag', 'kind': 'function', 'signature': '(u8 * argv0,int more_help)'}, {'file': v:true, 'typeref': 'typename:int', 'name': 'stricmp', 'vlnum': 6, 'line': 384, '_type': 'tag', 'kind':
'function', 'signature': '(char const * a,char const * b)'}, {'file': v:true, 'typeref': 'typename:void', 'name': 'fasan_check_afl_preload', 'vlnum': 7, 'line': 398, '_type': 'tag', 'kind': 'function', 'signature': '(char * afl_preload)'}, {'typeref': 'typename:int', 'name': 'main', 'vlnum': 8, 'line': 444, '_type': 'tag', 'kind': 'function', 'signature': '(int argc,char ** argv_orig,char ** envp)'}], 'macro': [{'file': v:true, 'name': 'DYN_COLOR', 'vlnum': 11, 'line': 219, '_type': 't
ag', 'kind': 'macro'}, {'file': v:true, 'name': 'PERSISTENT_MSG', 'vlnum': 12, 'line': 226, '_type': 'tag', 'kind': 'macro'}]}, 'tmps': ['/var/folders/ts/ctssm9nd6332yfcy755_b6ym0000gn/T/5340d1da0c6be006e401f80b5e6f4a875d31d62b85ad710be865eaade730c244.c'], 'pos': [{'lnum': 1, 'leftcol': 0, 'col': 0, 'topfill': 0, 'topline': 1, 'coladd': 0, 'skipcol': 0, 'curswant': 0}, 3, '1resize 98|vert 1resize 31|2resize 98|vert 2resize 427|3resize 98|vert 3resize 30|1resize 98|vert 1resize 31|2resi
ze 98|vert 2resize 427|3resize 98|vert 3resize 30|'], 'on_text_changed': 1, 'vlnum_cache': ['', ''], 'winid': 1004}
    let g:vista#executive#ctags#support_json_format = 1
    let g:vista#executives = ['ale', 'coc', 'ctags', 'lcn', 'nvim_lsp', 'vim_lsc', 'vim_lsp']
    let g:vista#extensions = ['markdown', 'rst']
    let g:vista#finders = ['clap', 'fzf', 'skim']
    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#enable_kind = 0
    let g:vista#renderer#icons = {'subroutine': '羚', 'method': '', 'func': '', 'variables': '', 'constructor': '略', 'field': '', 'interface': '', 'type': '', 'packages': '', 'property': '襁', 'implementation': '', 'default': '', 'augroup': 'פּ', 'macro': '', 'enumerator': '', 'const': '', 'macros': '', 'map': 'פּ', 'fields': '', 'functions': '', 'enum': '', 'function': '', 'target': '', 'typedef': '', 'namespace': '', 'enummember': '', 'variable': '', 'modules': '
', 'constant': '', 'struct': '', 'types': '', 'module': '', 'typeParameter': '', 'package': '', 'class': '', 'member': '', 'var': '', 'union': '鬒'}
    let g:vista_blink = [2, 100]
    let g:vista_close_on_fzf_select = 0
    let g:vista_close_on_jump = 0
    let g:vista_cursor_delay = 400
    let g:vista_default_executive = 'ctags'
    let g:vista_disable_statusline = 1
    let g:vista_echo_cursor = 1
    let g:vista_enable_centering_jump = 1
    let g:vista_executive_for = {}
    let g:vista_find_absolute_nearest_method_or_function = 0
    let g:vista_find_nearest_method_or_function_delay = 300
    let g:vista_floating_border = 'none'
    let g:vista_fold_toggle_icons = ['▼', '▶']
    let g:vista_fzf_preview = ['right:50%:+{-1}-5']
    let g:vista_icon_indent = ['└ ', '│ ']
    let g:vista_ignore_kinds = []
    let g:vista_no_mappings = 0
    let g:vista_sidebar_position = 'vertical botright'
    let g:vista_sidebar_width = 30
    let g:vista_stay_on_open = 1
    let g:vista_top_level_blink = [2, 100]
    let g:vista_update_on_text_changed = 1
    let g:vista_update_on_text_changed_delay = 500

Steps to reproduce given the above info
Just open Vista.

Expected behavior
Correct icons are displayed.

Actual behavior
Wrong / missing icons are displayed.

Screenshot or gif (if possible)
image