lib/soywiki.vim in soywiki-0.5.6 vs lib/soywiki.vim in soywiki-0.5.7
- old
+ new
@@ -1,8 +1,13 @@
" Vim script that turns Vim into a personal wiki
" Maintainer: Daniel Choi <dhchoi@gmail.com>
" License: MIT License (c) 2011 Daniel Choi
+if exists("g:SoyWikiLoaded") || &cp || version < 700
+ finish
+endif
+let g:SoyWikiLoaded = 1
+
let mapleader = ','
" This regex matches namedspaced WikiWords and unqualified WikiWords
let s:wiki_link_pattern = '\C\m\<\([a-z][[:alnum:]_]\+\.\)\?[A-Z][a-z]\+[A-Z]\w*\>'
let s:http_link_pattern = 'https\?:[^ >)\]]\+'