File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 6
6
" Note: This file is encoded in UTF-8 including a byte order mark so
7
7
" that Vim loads the script using the right encoding transparently.
8
8
9
- let g: xolox #notes#version = ' 0.15.2 '
9
+ let g: xolox #notes#version = ' 0.15.3 '
10
10
11
11
function ! xolox#notes#shortcut () " {{{1
12
12
" The "note:" pseudo protocol is just a shortcut for the :Note command.
@@ -797,7 +797,7 @@ function! xolox#notes#highlight_names(force) " {{{3
797
797
if hlexists (' notesName' )
798
798
syntax clear notesName
799
799
endif
800
- execute ' syntax match notesName /\c\%>2l\ %(' . escape (join (titles, ' \|' ), ' /' ) . ' \)/'
800
+ execute ' syntax match notesName /\c\%>1l\<\ %(' . escape (join (titles, ' \|' ), ' /' ) . ' \)\> /'
801
801
let b: notes_names_last_highlighted = localtime ()
802
802
call xolox#misc#timer#stop (" notes.vim %s: Highlighted note names in %s." , g: xolox #notes#version , starttime)
803
803
endif
You can’t perform that action at this time.
0 commit comments