nvim: after/plugin/word-column: Fix conflicting mapping with target

Since we now have more mapping available after dropping treesitter
text objects, we can fix this.

Fixes the below warning from targets check health.

targets: health#targets#check
========================================================================
  - WARNING: Conflicting mapping found:
    aq → <Plug>(textobj-wordcolumn-word-a)
    q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
  - WARNING: Conflicting mapping found:
    iq → <Plug>(textobj-wordcolumn-word-i)
    q → {'quote': [{'d': ''''}, {'d': '"'}, {'d': '`'}]}
This commit is contained in:
Sanchayan Maity 2022-11-07 15:47:01 +05:30
parent 397cac1050
commit b0e55a6e60

View file

@ -1,10 +1,10 @@
call textobj#user#map('wordcolumn', {
\ 'word' : {
\ 'select-i' : 'iq',
\ 'select-a' : 'aq',
\ 'select-i' : 'is',
\ 'select-a' : 'as',
\ },
\ 'WORD' : {
\ 'select-i' : 'iQ',
\ 'select-a' : 'aQ',
\ 'select-i' : 'iS',
\ 'select-a' : 'aS',
\ },
\ })