File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-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.25.2 '
9
+ let g: xolox #notes#version = ' 0.26 '
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 6 , 2014
3
+ " Last Change: July 7 , 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
48
48
highlight def link notesSingleQuoted Special
49
49
highlight def link notesDoubleQuoted String
50
50
51
+ " Highlight inline code fragments (same as Markdown syntax). {{{2
52
+ if has (' conceal' )
53
+ syntax region notesInlineCode matchgroup =notesInlineCodeMarker start =/ `/ end =/ `/ concealends
54
+ highlight link notesItalicMarker notesInlineCodeMarker
55
+ else
56
+ syntax match notesInlineCode / `[^`]*`/
57
+ endif
58
+ syntax cluster notesInline add =notesInlineCode
59
+ highlight def link notesInlineCode Special
60
+
51
61
" Highlight text emphasized in italic font. {{{2
52
62
if has (' conceal' )
53
63
syntax region notesItalic matchgroup =notesItalicMarker start =/ \< _\k\@ =/ end =/ _\>\|\n / contains =@Spell concealends
You can’t perform that action at this time.
0 commit comments