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

auto-completion for all the autoloaded providers #429

Closed
ipkiss42 opened this issue May 8, 2020 · 1 comment
Closed

auto-completion for all the autoloaded providers #429

ipkiss42 opened this issue May 8, 2020 · 1 comment

Comments

@ipkiss42
Copy link

ipkiss42 commented May 8, 2020

Environment (please complete the following information):

  • OS: Manjaro 20.0
  • (Neo)Vim version: Vim 8.2.510
  • vim-clap version: 14e003f
  • Have you reproduced with a minimal vimrc: no
  • Have you updated to the latest plugin version: yes
  • Have you upgraded to/compiled the latest Rust binary: yes

Describe the bug
After installing the coc-clap plugin, the new providers (coc_*) are not auto-completed after :Clap coc<Tab>. They correctly appear in the output of :Clap providers though.

Clap debug

            has cargo: 1                                                                                                                                                                      
            has maple: /home/ipkiss/dotfiles/.vim/bundle/vim-clap/target/release/maple                                                                                                        
           maple info: version 0.1.15 (git v0.15-3-g14e003f), built for x86_64-unknown-linux-gnu by rustc 1.43.1 (8d69840ab 2020-05-04).                                                      
         has +python3: 1                                                                                                                                                                      
has py dynamic module: 0                                                                                                                                                                      
     Current FileType: rust                                                                                                                                                                   
Third Party Providers: []                                                                                                                                                                     
       Global Options:                                                                                                                                                                        
    let g:clap#autoload_dir = '/home/ipkiss/dotfiles/.vim/bundle/vim-clap/autoload'                                                                                                           
    let g:clap#popup#display = {'shrink': function('186'), 'open': function('<SNR>171_create_display'), 'shrink_if_undersize': function('185')}                                               
    let g:clap#popup#input = {}                                                                                                                                                               
    let g:clap#popup#preview = {'line_count': function('<SNR>170__line_count'), 'show': function('187'), 'hide': function('188'), 'add_highlight': function('189'), 'get_lines': function('<SN
R>170__get_lines'), 'getbufvar': function('<SNR>170__getbufvar'), 'setbufvar_batch': function('<SNR>170__setbufvar_batch'), 'setbufvar': function('<SNR>170__setbufvar'), 'win_is_valid': func
tion('<SNR>170__win_is_valid'), 'goto_win': function('<SNR>170__goto_win'), 'set_syntax': function('190')}                                                                                    
    let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}                                                                                
    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 = 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_popup_border = 'rounded'                                                                                                                                                       
    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_theme = 'material_design_dark'                                                                                                                                                 
  Provider Variables:                                                                                                                                                                         
    let g:clap_provider_coc_blink = [2, 100]                                                                                                                                                  

To Reproduce
See description above. It is straightforward.

Expected behavior
All the providers are listed.

@ipkiss42 ipkiss42 added the bug Something isn't working label May 8, 2020
@liuchengxu liuchengxu added feature_request and removed bug Something isn't working labels May 8, 2020
@liuchengxu liuchengxu changed the title Clap auto-completion does not list new providers auto-completion for all the autoloaded providers May 8, 2020
@ipkiss42
Copy link
Author

ipkiss42 commented May 9, 2020

Thanks for the quick turnaround and the great plugin, it's very promising!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants