Add the usual vim plugin load protection
1 files changed, 5 insertions(+), 0 deletions(-)

M plugin/unreal.vim
M plugin/unreal.vim +5 -0
@@ 3,6 3,11 @@ 
 
 " Globals {{{
 
+if exists('g:loaded_unreal') || &cp
+  finish
+endif
+let g:loaded_unreal = 1
+
 if !(has('job') || (has('nvim') && exists('*jobwait')))
     echoerr "unreal: this plugin requires the job API from Vim8 or Neovim."
     finish