You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugin/notes.vim
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
" Vim plug-in
2
2
" Author: Peter Odding <peter@peterodding.com>
3
-
" Last Change:June 23, 2013
3
+
" Last Change:August 19, 2013
4
4
" URL: http://peterodding.com/code/vim/notes/
5
5
6
6
" Support for automatic update using the GLVS plug-in.
@@ -11,6 +11,19 @@ if &cp || exists('g:loaded_notes')
11
11
finish
12
12
endif
13
13
14
+
" Make sure vim-misc is installed.
15
+
try
16
+
" The point of this code is to do something completely innocent while making
17
+
" sure the vim-misc plug-in is installed. We specifically don't use Vim's
18
+
" exists() function because it doesn't load auto-load scripts that haven't
19
+
" already been loaded yet (last tested on Vim 7.3).
20
+
calltype(g:xolox#misc#version)
21
+
catch
22
+
echomsg"Warning: The vim-notes plug-in requires the vim-misc plug-in which seems not to be installed! For more information please review the installation instructions in the readme (also available on the homepage and on GitHub). The vim-notes plug-in will now be disabled."
0 commit comments