aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2021-11-19 00:37:35 +0100
committerMax Christian Pohle2021-11-19 00:37:35 +0100
commit98642e6ebc2ee27f20a7e26d8ab69f1e3d73059f (patch)
tree8246121a04d9be39f3d494d0c1e2406e3e094743
parentdf83bdccd7ce16c97e76011da9d70c17a1d243af (diff)
downloadvim-under-the-cursor-98642e6ebc2ee27f20a7e26d8ab69f1e3d73059f.tar.bz2
vim-under-the-cursor-98642e6ebc2ee27f20a7e26d8ab69f1e3d73059f.zip
Silenced error messagesHEADmaster
These are useful for development, but not when a command is bound to a CursorMoved autocmd ;)
-rw-r--r--plugin/vim-under-the-cursor.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/vim-under-the-cursor.vim b/plugin/vim-under-the-cursor.vim
index b91c2bd..ef60b7f 100644
--- a/plugin/vim-under-the-cursor.vim
+++ b/plugin/vim-under-the-cursor.vim
@@ -55,6 +55,6 @@ endfunction
55 55
56" see `:help group-name` 56" see `:help group-name`
57highlight! Underlined cterm=underline gui=underline 57highlight! Underlined cterm=underline gui=underline
58autocmd CursorMoved,InsertLeave,TextChanged * call HighlightWordUnderCursor() 58autocmd CursorMoved,InsertLeave,TextChanged * silent! call HighlightWordUnderCursor()
59 59
60" vim: expandtab tabstop=4 sw=4 60" vim: expandtab tabstop=4 sw=4
..