diff options
-rwxr-xr-x | .config/nvim/init.vim | 7 |
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 = | |||
148 | autocmd FileType markdown,tex setlocal spell | 148 | autocmd FileType markdown,tex setlocal spell |
149 | 149 | ||
150 | autocmd FileType rust let b:dispatch = 'cargo run' | 150 | autocmd 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 {{{ |