Skip to content

Commit

Permalink
explicit link groups
Browse files Browse the repository at this point in the history
Co-authored-by: Tom McDonald <tommcdo@gmail.com>
  • Loading branch information
habamax and tommcdo authored Dec 16, 2020
1 parent e797a21 commit c8ea85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/exchange.vim
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ function! s:get_setting(setting, default)
endfunction

highlight default link ExchangeRegion IncSearch
execute 'highlight default link _exchange_region' (s:enable_highlighting ? 'ExchangeRegion' : 'None')
highlight default link _exchange_region ExchangeRegion

nnoremap <silent> <expr> <Plug>(Exchange) ':<C-u>set operatorfunc=<SID>exchange_set<CR>'.(v:count1 == 1 ? '' : v:count1).'g@'
vnoremap <silent> <Plug>(Exchange) :<C-u>call <SID>exchange_set(visualmode(), 1)<CR>
Expand Down

0 comments on commit c8ea85e

Please sign in to comment.