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