Commits

Meikel Brandmeyer committed d4aabec

Protect ProtectedMap manually

Otherwise things blow up when starting the repl.

  • Participants
  • Parent commits 82aed3b

Comments (0)

Files changed (1)

File autoload/vimclojure.vim

 	endif
 endfunction
 
-function! vimclojure#ProtectedPlug(f, ...)
-	try
-		return call(a:f, a:000)
-	catch /.*/
-		call vimclojure#ReportError(v:exception)
-	endtry
-endfunction
+if !exists("*vimclojure#ProtectedPlug")
+	function vimclojure#ProtectedPlug(f, args)
+		try
+			return call(a:f, a:args)
+		catch /.*/
+			call vimclojure#ReportError(v:exception)
+		endtry
+	endfunction
+endif
 
 " A Buffer...
 if !exists("g:vimclojure#SplitPos")