Skip to content

Commit

Permalink
Remove word boundary conditions from note name highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed May 14, 2013
1 parent 09120cd commit a83b099
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/xolox/notes.vim
@@ -1,12 +1,12 @@
" Vim auto-load script
" Author: Peter Odding <peter@peterodding.com>
" Last Change: May 13, 2013
" Last Change: May 14, 2013
" URL: http://peterodding.com/code/vim/notes/

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

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

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

0 comments on commit a83b099

Please sign in to comment.