targets.vim icon indicating copy to clipboard operation
targets.vim copied to clipboard

Disabling mappings still causes health check warnings.

Open DasOhmoff opened this issue 4 years ago • 0 comments

Hello. Thank you for your help.

I like this plugin, it is really nice. But there are some mappings that I don't need, so I tried to disable them:

autocmd User targets#mappings#user call targets#mappings#extend(
\ {
\   ',': {}, ';': {}, ':': {},
\   '+': {}, '=': {}, '~': {},
\   '#': {}, '&': {}, '$': {},
\   'a': {}, 'B': {}, 'b': {}, 't': {}, 'q': {},
\ })

But the healthcheck still shows warnings:

health#targets#check
========================================================================
  - WARNING: Conflicting mapping found:
    aB → :<C-U>call TextObjWordBasedColumn('aW')<CR>
    B → {}
  - WARNING: Conflicting mapping found:
    iB → :<C-U>call TextObjWordBasedColumn('iW')<CR>
    B → {}
  - WARNING: Conflicting mapping found:
    ab → :<C-U>call TextObjWordBasedColumn('aw')<CR>
    b → {}
  - WARNING: Conflicting mapping found:
    ib → :<C-U>call TextObjWordBasedColumn('iw')<CR>
    b → {}
  - WARNING: Conflicting mapping found:
    a, → <Plug>Argumentative_OuterTextObject
    , → {}
  - WARNING: Conflicting mapping found:
    i, → <Plug>Argumentative_InnerTextObject
    , → {}
  - WARNING: Conflicting mapping found:
    at → <Plug>(textobj-between-a)
    t → {}
  - WARNING: Conflicting mapping found:
    it → <Plug>(textobj-between-i)
    t → {}

How can I fix this?

DasOhmoff avatar Nov 11 '21 06:11 DasOhmoff