liuchengxu / vista.vim

:cactus: Viewer & Finder for LSP symbols and tags
https://liuchengxu.github.io/vista.vim
MIT License
1.88k stars 89 forks source link

Unsupported kind: 'w' for --go-kinds option #461

Closed pacmanzou closed 1 year ago

pacmanzou commented 1 year ago

image 你好,ctags并没有w对于go,是否可以修改它在vista.vim里?

然后另一个问题是禁止icon的这个命令在lua配置(lazy.nvim)里面并不生效,在vim-plug里面是正常的,这是否是我的写法问题?如下图 image

pacmanzou commented 1 year ago

vim.cmd("let g:vista#renderer#enable_icon = 0"),这种写法可以我知道

zetatez commented 1 year ago

Please try

vim.g['vista#renderer#enable_icon'] = 0
vim.g.vista_executive_for = {
  go = 'nvim_lsp',
}

or, you can clone the repo, and change the file autoload/vista/types/uctags/go.vim to fit the ctags supported options.

pacmanzou commented 1 year ago

Please try

vim.g['vista#renderer#enable_icon'] = 0
vim.g.vista_executive_for = {
  go = 'nvim_lsp',
}

or, you can clone the repo, and change the file autoload/vista/types/uctags/go.vim to fit the ctags supported options.

好的,谢谢,命令正常执行了.我其实是想维护者去更新这个ctags --go-kinds问题,我知道在go.vim删除含'w'参数的一行可以像我期待的去运行,但又不想提pr(问题是我本地的关系就尴尬了).

pacmanzou commented 1 year ago

现在使用coc去代替ctags,关闭issue了