File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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.15.2 '
9+ let g: xolox #notes#version = ' 0.15.3 '
1010
1111function ! xolox#notes#shortcut () " {{{1
1212 " The "note:" pseudo protocol is just a shortcut for the :Note command.
@@ -797,7 +797,7 @@ function! xolox#notes#highlight_names(force) " {{{3
797797 if hlexists (' notesName' )
798798 syntax clear notesName
799799 endif
800- execute ' syntax match notesName /\c\%>2l\ %(' . escape (join (titles, ' \|' ), ' /' ) . ' \)/'
800+ execute ' syntax match notesName /\c\%>1l\<\ %(' . escape (join (titles, ' \|' ), ' /' ) . ' \)\> /'
801801 let b: notes_names_last_highlighted = localtime ()
802802 call xolox#misc#timer#stop (" notes.vim %s: Highlighted note names in %s." , g: xolox #notes#version , starttime)
803803 endif
You can’t perform that action at this time.
0 commit comments