Skip to content
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 finder coc 有问题。 #406

Open
showtestlog opened this issue Jul 24, 2021 · 1 comment
Open

vista finder coc 有问题。 #406

showtestlog opened this issue Jul 24, 2021 · 1 comment
Labels
help wanted 🙌 Extra attention is needed PR welcome

Comments

@showtestlog
Copy link

showtestlog commented Jul 24, 2021

Environment:

  • OS: macOS 10.15.7
    -Neovim version:NVIM v0.5.0
  • This plugin version: d709462
  • I'm using some LSP client:
    • Related Vim LSP client: coc
    • The Vim LSP client version: release commit c49acf35d8c32c16e1f14ab056a15308e0751688
    • Have you tried updated to the latest version of this LSP client: Yes

Vista info
let g:vista = {'get_tagline_under_cursor': function('295'), 'winnr': function('293'), 'source': {'fname': '', 'bufnr': 1, 'get_winid
': function('297'), 'winid': 1000, 'winnr': 1, 'extension': function('302'), 'line': function('300'), 'get_winnr': function('296'), 'fil
etype': function('298'), 'lines': function('299'), 'line_trimmed': function('301'), 'scope_seperator': function('303'), 'fpath': ''}, 'w
inid': function('294'), 'tmps': []}
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#icons = {'function': '', 'variable': ''}
let g:vista_blink = [2, 100]
let g:vista_close_on_fzf_select = 0
let g:vista_close_on_jump = 1
let g:vista_cursor_delay = 400
let g:vista_default_executive = 'coc'
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_fold_toggle_icons = ['▼', '▶']
let g:vista_fzf_preview = ['right:30%']
let g:vista_icon_indent = ['╰─▸ ', '├─▸ ']
let g:vista_ignore_kinds = []
let g:vista_log_file = '/Users/q/vista.log'
let g:vista_no_mappings = 0
let g:vista_sidebar_open_cmd = '30vsplit'
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 = 0
let g:vista_update_on_text_changed_delay = 500

minimal vimrc (neccessary when this issue is about some Vim LSP client):

let g:vista_icon_indent = ["╰─▸ ", "├─▸ "]
104 let g:vista_default_executive = 'coc'
105 let g:vista_fzf_preview = ['right:30%']
106 let g:vista_sidebar_open_cmd = '30vsplit'
107 nnoremap fs :Vista coc

set nocompatible
set runtimepath^=/path/to/vista.vim
syntax on
filetype plugin indent on
  1. coc 解析的OC符号可以正常索引,但是当我用 vista finder coc xxx 的时候,提示参数过多错误,当我不加xxx的时候,提示无数据。

Expected behavior

Actual behavior

Screenshot or gif (if possible)

image
感觉是搜索有问题。但是我fzf正常。

@liuchengxu liuchengxu added PR welcome help wanted 🙌 Extra attention is needed labels Jul 25, 2021
@caizimin
Copy link

in readme.md it says:

The feature of finder in vista.vim :Vista finder [EXECUTIVE] is a bit like :BTags or :Tags in fzf.vim

you can refer :Tags meaning in fzf.vim. It means ctags -R. it generates the tag files. not do search symbol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted 🙌 Extra attention is needed PR welcome
Projects
None yet
Development

No branches or pull requests

3 participants