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.23.5 '
9+ let g: xolox #notes#version = ' 0.23.6 '
1010let g: xolox #notes#url_pattern = ' \<\(mailto:\|javascript:\|\w\{3,}://\)\(\S*\w\)\+/\?'
1111let s: scriptdir = expand (' <sfile>:p:h' )
1212
Original file line number Diff line number Diff line change 11" Vim syntax script
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: July 16, 2013
3+ " Last Change: June 16, 2014
44" URL: http://peterodding.com/code/vim/notes/
55
66" Note: This file is encoded in UTF-8 including a byte order mark so
@@ -39,11 +39,11 @@ highlight def link notesListNumber Comment
3939
4040" Highlight quoted fragments. {{{2
4141if xolox#notes#unicode_enabled ()
42- syntax match notesDoubleQuoted / “.\{ -}”/
43- syntax match notesSingleQuoted / ‘.\{ -}’/
42+ syntax match notesDoubleQuoted / \w\@ <! “.\{ -}”\w\@ ! /
43+ syntax match notesSingleQuoted / \w\@ <! ‘.\{ -}’\w\@ ! /
4444else
45- syntax match notesDoubleQuoted / ".\{ -}"/
46- syntax match notesSingleQuoted / `.\{ -}'/
45+ syntax match notesDoubleQuoted / \w\@ <! ".\{ -}"\w\@ ! /
46+ syntax match notesSingleQuoted / \w\@ <! `.\{ -}'\w\@ ! /
4747endif
4848highlight def link notesSingleQuoted Special
4949highlight def link notesDoubleQuoted String
You can’t perform that action at this time.
0 commit comments