vim-clap: Clap proj_tags does not seem to work

Environment (please complete the following information):

  • OS: MacOs catalina 10.15.6
  • NeoVim version: 0.5.0-4496628
  • vim-clap version: latest
  • Have you reproduced with a minimal vimrc: Yes
  • Have you updated to the latest plugin version: Yes
  • Have you upgraded to/compiled the latest Rust binary: ??? Yes

Describe the bug Running :Clap proj_tags does not seem to work at all, it opens the empty floating window with no tags listed and as soon as you start typing following error is thrown.

vim-clap: on_event:['thread ''main'' panicked at ''byte index 97 is not a char boundary; it is inside ''е'' (bytes 96...src/libcore/str/mod.rs:1920:47', 'note: run with RUST_BACKTRACE=1 environment variable to display a backtrace', '']

Clap debug


            has cargo: 1
            has maple: /Users/rbhanot/.config/nvim/plugged/vim-clap/target/release/maple
           maple info: version 0.1.19, built for x86_64-apple-darwin by rustc 1.45.0 (5c1f21c3b 2020-07-13).

         has +python3: 1
has py dynamic module: 1
     Current FileType: python
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = '/Users/rbhanot/.config/nvim/plugged/vim-clap/autoload'
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_cache_directory = '/Users/rbhanot/.cache/vim/clap'
    let g:clap_disable_bottom_top = 0
    let g:clap_disable_matches_indicator = v:false
    let g:clap_disable_optional_async = v:false
    let g:clap_disable_run_rooter = v:false
    let g:clap_enable_icon = 1
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!', 'using_cache': '*'}
    let g:clap_insert_mode_only = v:true
    let g:clap_layout = {'col': '17%', 'row': '33%', 'width': '67%', 'height': '33%'}
    let g:clap_multi_selection_warning_silent = 0
    let g:clap_no_matches_msg = 'NO MATCHES FOUND'
    let g:clap_open_action = {'ctrl-v': 'vsplit', 'ctrl-x': 'split', 'ctrl-t': 'tab split'}
    let g:clap_popup_border = 'rounded'
    let g:clap_preview_size = 5
    let g:clap_providers_relaunch_code = '@@'
    let g:clap_search_box_border_style = 'nil'
    let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
    let g:clap_session_dir = '/Users/rbhanot/.cache/vim/sessions'
  Provider Variables:
    let g:clap_provider_coc_blink = [2, 100]
    let g:clap_provider_grep_blink = [2, 100]
    let g:clap_provider_grep_delay = 100
    let g:clap_provider_yanks_min_len = 4

To Reproduce Steps to reproduce the behavior:

  1. Create the minimal vimrc min.vim:
set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on
  1. Start neovim with command: vim -u min.vim

  2. Type :Clap proj_tags

Expected behavior The tags for the project should be displayed in the floating window.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

@mrded vim-clap has declared the ctags JSON requirement for proj_tags. Refer to https://github.com/liuchengxu/vista.vim#compile-ctags-with-json-format-support for reinstalling ctags.