E801: ID already taken: 1001
taq opened this issue · 1 comments
taq commented
Instructions: Replace the template text and remove irrelevant text (including this line)
Warning: if you don't fill this issue template and provide the reproducible steps the issue could be closed directly.
Environment (please complete the following information):
- OS: Ubuntu 22.10
- (Neo)Vim version: v0.9.0-dev
- vim-clap version: v0.37
- 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
Trying to use file search, get a E801: ID already taken: 1001
message.
Clap debug
has cargo: 1
has maple: /home/taq/.configs/.vim/plugged/vim-clap/target/release/maple
maple info: version 0.1.37, built for x86_64-unknown-linux-gnu by rustc 1.65.0 (897e37553 2022-11-02).
has +python3: 0
has py dynamic module: 0
has ctags: ctags with JSON output support
rustc version: rustc 1.65.0 (897e37553 2022-11-02)
Current sync impl: Lua
Current FileType:
Third Party Providers: []
Global Options:
let g:clap#autoload_dir = '/home/taq/.configs/.vim/plugged/vim-clap/autoload'
let g:clap#provider_alias = {'gfiles': 'git_files', 'hist:': 'command_history', 'hist/': 'search_history'}
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_optional_async = 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 = 1
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 = 'single'
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 = 'curve'
let g:clap_search_box_border_symbols = {'nil': ['', ''], 'curve': ['', ''], 'arrow': ['', '']}
Provider Variables:
[]
To Reproduce
Steps to reproduce the behavior:
- Create the minimal vimrc
min.vim
:
set nocompatible
set runtimepath^=/path/to/vim-clap
syntax on
filetype plugin indent on
-
Start (neo)vim with command:
vim -u min.vim
-
Type '....'
-
See error
Just found what is wrong. Is another plugin, indentLine. Seems it is using virtual text to show the lines. Wondering if there is a way to get a safe id to use with clap.
taq commented
Thanks. Worked.