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

Filer can't open any file #1092

Closed
s0nx opened this issue Sep 26, 2024 · 2 comments · Fixed by #1093
Closed

Filer can't open any file #1092

s0nx opened this issue Sep 26, 2024 · 2 comments · Fixed by #1093
Labels
bug Something isn't working

Comments

@s0nx
Copy link

s0nx commented Sep 26, 2024

Environment:

  • OS: Arch Linux
  • vim-clap version: f473912
  • 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 (built manually)

Describe the bug
Can't open any file via :Clap filer: Vim(let):E716: Key not present in Dictionary: "sink"

Clap debug

                  Vim: VIM - Vi IMproved 9.1 (2024 Jan 02, compiled Aug 11 2024 20:40:17) Included patches: 1-672
            has ctags: Universal Ctags 6.1.0(v6.1.0) (+json)
            has cargo: 1
            has maple: /home/s0nx/.vim/bundle/vim-clap/target/release/maple
           maple info: version 0.1.51 (git v0.54-5-gf473912), compiled at: 2024-09-26 14:31:29.456748714 +04:00, built for x86_64-unknown-linux-gnu by rustc 1.80.1 (3f5fd8dd4 2024-08-06) (Arch Linux rust 1:1.80.1-1).

        rustc version: rustc 1.80.1 (3f5fd8dd4 2024-08-06) (Arch Linux rust 1:1.80.1-1)

     Current FileType: 
Third Party Providers: []
       Global Options:
    let g:clap#autoload_dir = '/home/s0nx/.vim/bundle/vim-clap/autoload'
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
    let g:clap_actions = ['listPlugins', 'openConfig', 'git.blame', 'git.diffSummary', 'git.hunkModifications', 'git.openPermalinkInBrowser', 'git.permalink', 'git.toggle', 'syntax.sublimeSyntaxHighlight', 'syntax.sublimeSyntaxListThemes', 'syntax.toggle', 'syntax.treeSitterHighlight', 'syntax.treeSitterHighlightDisable', 'syntax.treeSitterListScopes', 'syntax.treeSitterPropsUnderCursor']
    let g:clap_background_shadow_blend = 50
    let g:clap_disable_bottom_top = 0
    let g:clap_disable_matches_indicator = v:false
    let g:clap_disable_run_rooter = v:false
    let g:clap_enable_background_shadow = v:false
    let g:clap_enable_debug = v:false
    let g:clap_enable_icon = 0
    let g:clap_forerunner_status_sign = {'done': '•', 'running': '!', 'using_cache': '*'}
    let g:clap_insert_mode_only = v:false
    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_open_preview = 'always'
    let g:clap_popup_border = 'rounded'
    let g:clap_preview = {'scrollbar': {'fill_char': '▌'}}
    let g:clap_preview_direction = 'AUTO'
    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': ['', '']}
  Provider Variables:
                     []

To Reproduce
Steps to reproduce the behavior:

  1. Create the minimal vimrc minimal_vimrc:
set nocompatible
set runtimepath^=/home/s0nx/.vim/bundle/vim-clap
syntax on
filetype plugin indent on
  1. Start vim with command: vim -u minimal_vimrc

  2. Select any file via ctrl-j / ctrl-k in the list and try to open it in tab (ctrl-t) or split (ctrl-v)

  3. See error

Expected behavior
Selected file is opened in tab or split

Screenshots
vim-clap-err2

@s0nx s0nx added the bug Something isn't working label Sep 26, 2024
liuchengxu added a commit that referenced this issue Sep 26, 2024
@liuchengxu
Copy link
Owner

Thanks for raising the issue, can you try whether #1093 fixes it? You need to recompile the binary.

@s0nx
Copy link
Author

s0nx commented Sep 26, 2024

Hi! Thanks for your instantaneous reply. Seems like with #1093 it works without any issues. Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants