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: June 17 , 2014
3+ " Last Change: June 18 , 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.23.7 '
9+ let g: xolox #notes#version = ' 0.23.8 '
1010let g: xolox #notes#url_pattern = ' \<\(mailto:\|javascript:\|\w\{3,}://\)\(\S*\w\)\+/\?'
1111let s: scriptdir = expand (' <sfile>:p:h' )
1212
@@ -1134,6 +1134,9 @@ function! s:syntax_include(filetype)
11341134 try
11351135 execute ' syntax include' grouplistname ' syntax/' . a: filetype . ' .vim'
11361136 execute ' syntax include' grouplistname ' after/syntax/' . a: filetype . ' .vim'
1137+ catch /E403/
1138+ " Ignore errors about syntax scripts that can't be loaded more than once.
1139+ " See also: https://github.com/xolox/vim-notes/issues/68
11371140 catch /E484/
11381141 " Ignore missing scripts.
11391142 endtry
You can’t perform that action at this time.
0 commit comments