File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11" Vim auto-load script
22" Author: Peter Odding <peter@peterodding.com>
3- " Last Change: October 20 , 2014
3+ " Last Change: November 3 , 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
77" that Vim loads the script using the right encoding transparently.
88
9- let g: xolox #notes#version = ' 0.28'
9+ let g: xolox #notes#version = ' 0.28.1 '
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 7 , 2014
3+ " Last Change: November 3 , 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
@@ -11,6 +11,14 @@ if exists('b:current_syntax')
1111 finish
1212endif
1313
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+
1422" Check for spelling errors in all text.
1523syntax spell toplevel
1624
You can’t perform that action at this time.
0 commit comments