diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-22 19:53:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-24 00:24:10 +0900 |
| commit | bfa125fcb7eb3a4ad521af81dbdcb031cf5f553b (patch) | |
| tree | 344e9adc7d77278d12c8df95962783f11344fed8 | |
| parent | bfcc80d8c6629c612e6d40f5cc0576a47795351a (diff) | |
| download | dotfiles-bfa125fcb7eb3a4ad521af81dbdcb031cf5f553b.tar.gz dotfiles-bfa125fcb7eb3a4ad521af81dbdcb031cf5f553b.tar.zst dotfiles-bfa125fcb7eb3a4ad521af81dbdcb031cf5f553b.zip | |
neovim/vim: suppress highlight on operator-sandwich
| -rw-r--r-- | .config/nvim/init.lua | 3 | ||||
| -rw-r--r-- | .vimrc | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua index 395a4d9..f2a65ab 100644 --- a/.config/nvim/init.lua +++ b/.config/nvim/init.lua @@ -1718,6 +1718,9 @@ vim.g.rustfmt_autosave = true -- sandwich {{{2 +vim.fn['operator#sandwich#set']('add', 'all', 'highlight', 2) +vim.fn['operator#sandwich#set']('delete', 'all', 'highlight', 0) +vim.fn['operator#sandwich#set']('replace', 'all', 'highlight', 2) @@ -1770,6 +1770,9 @@ let g:rustfmt_autosave = 1 " sandwich {{{2 +call operator#sandwich#set('add', 'all', 'highlight', 2) +call operator#sandwich#set('delete', 'all', 'highlight', 0) +call operator#sandwich#set('replace', 'all', 'highlight', 2) |
