Permalink
Browse files

update loader trap

  • Loading branch information...
1 parent af0c3d4 commit 6eb95b4ace707f20ee9280c77e37e56d296e5a07 @PeterRincker PeterRincker committed Mar 20, 2012
Showing with 5 additions and 6 deletions.
  1. +5 −6 plugin/slime.vim
View
11 plugin/slime.vim
@@ -1,3 +1,8 @@
+if exists('g:loaded_slime') || &cp || v:version < 700
+ finish
+endif
+let g:loaded_slime = 1
+
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Configuration
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
@@ -21,12 +26,6 @@ execute 'vmap ' . g:slime_send_key . " \"ry:call <SID>SlimeSend(@r)<CR>"
execute 'nmap ' . g:slime_send_key . " vip" . g:slime_send_key
execute 'nmap ' . g:slime_config_key . " :call <SID>SlimeConfig()<CR>"
-if exists('g:slime_loaded')
- finish
-endif
-let g:slime_loaded = 1
-
-
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Screen
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

0 comments on commit 6eb95b4

Please sign in to comment.