File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
" Vim auto-load script
2
2
" Author: Peter Odding <peter@peterodding.com>
3
- " Last Change: October 20 , 2014
3
+ " Last Change: November 3 , 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
7
7
" that Vim loads the script using the right encoding transparently.
8
8
9
- let g: xolox #notes#version = ' 0.28'
9
+ let g: xolox #notes#version = ' 0.28.1 '
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 7 , 2014
3
+ " Last Change: November 3 , 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
@@ -11,6 +11,14 @@ if exists('b:current_syntax')
11
11
finish
12
12
endif
13
13
14
+ " Tell Vim to start redrawing by rescanning all previous text. This isn't
15
+ " exactly optimal for performance but it enables accurate syntax highlighting.
16
+ " Ideally we'd find a way to get accurate syntax highlighting without the
17
+ " nasty performance implications, but for now I'll accept the performance
18
+ " impact in order to have accurate highlighting. For more discussion please
19
+ " refer to https://github.com/xolox/vim-notes/issues/2.
20
+ syntax sync fromstart
21
+
14
22
" Check for spelling errors in all text.
15
23
syntax spell toplevel
16
24
You can’t perform that action at this time.
0 commit comments