summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorYigit Sever2020-06-05 17:13:06 +0300
committerYigit Sever2020-06-05 17:13:06 +0300
commit882cdd49b153ef381b3b8ccd8a18e457954fbbde (patch)
treefca6aba975d793d6bf45954b8d8ed7450a1f8acb /.config/nvim
parentfebeaf7bfd3667cdd0ddeb290915d61d543e8599 (diff)
downloaddotfiles-882cdd49b153ef381b3b8ccd8a18e457954fbbde.tar.gz
dotfiles-882cdd49b153ef381b3b8ccd8a18e457954fbbde.tar.bz2
dotfiles-882cdd49b153ef381b3b8ccd8a18e457954fbbde.zip
prep highlight yank for nvim 0.5.0
Diffstat (limited to '.config/nvim')
-rwxr-xr-x.config/nvim/init.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 7fc630c..9841ff7 100755
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -148,6 +148,13 @@ autocmd VimResized * :wincmd =
148autocmd FileType markdown,tex setlocal spell 148autocmd FileType markdown,tex setlocal spell
149 149
150autocmd FileType rust let b:dispatch = 'cargo run' 150autocmd FileType rust let b:dispatch = 'cargo run'
151
152" TODO: this will get supported on nvim 0.5.0
153" augroup highlight_yank
154" autocmd!
155" autocmd TextYankPost * silent! lua require'vim.highlight'.on_yank("IncSearch", 1000)
156" augroup END
157
151"}}} 158"}}}
152 159
153" Functions {{{ 160" Functions {{{