Skip to content

Commit a83b099

Browse files
committed
Remove word boundary conditions from note name highlighting
1 parent 09120cd commit a83b099

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

autoload/xolox/notes.vim

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
" Vim auto-load script
22
" Author: Peter Odding <peter@peterodding.com>
3-
" Last Change: May 13, 2013
3+
" Last Change: May 14, 2013
44
" URL: http://peterodding.com/code/vim/notes/
55

66
" Note: This file is encoded in UTF-8 including a byte order mark so
77
" that Vim loads the script using the right encoding transparently.
88

9-
let g:xolox#notes#version = '0.20'
9+
let g:xolox#notes#version = '0.20.1'
1010
let s:scriptdir = expand('<sfile>:p:h')
1111

1212
call xolox#misc#compat#check('notes', 3)
@@ -1117,7 +1117,7 @@ function! xolox#notes#highlight_names(force) " {{{3
11171117
if hlexists('notesName')
11181118
syntax clear notesName
11191119
endif
1120-
execute 'syntax match notesName /\c\%>1l\<\%(' . escape(join(titles, '\|'), '/') . '\)\>/'
1120+
execute 'syntax match notesName /\c\%>1l\%(' . escape(join(titles, '\|'), '/') . '\)/'
11211121
let b:notes_names_last_highlighted = localtime()
11221122
call xolox#misc#timer#stop("notes.vim %s: Highlighted note names in %s.", g:xolox#notes#version, starttime)
11231123
endif

0 commit comments

Comments
 (0)