diff options
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-under-the-cursor.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/vim-under-the-cursor.vim b/plugin/vim-under-the-cursor.vim index 403164a..66e661d 100644 --- a/plugin/vim-under-the-cursor.vim +++ b/plugin/vim-under-the-cursor.vim | |||
@@ -43,7 +43,7 @@ function! HighlightWordUnderCursor() | |||
43 | endif | 43 | endif |
44 | 44 | ||
45 | exec 'syntax clear ' . l:color | 45 | exec 'syntax clear ' . l:color |
46 | exec 'syntax match ' . l:color . ' /\#' . l:q . '/' | 46 | exec 'syntax match ' . l:color . ' /\#' . l:q . '\>/' |
47 | else | 47 | else |
48 | silent! call matchadd('Underline', '\<'.l:currentword.'\>', -1, w:m1) | 48 | silent! call matchadd('Underline', '\<'.l:currentword.'\>', -1, w:m1) |
49 | endif | 49 | endif |