vimrc

Branches > main > 61242ea > files / nvim / pack / plugins / opt / parinfer-rust / tests / vim / vimrc

setglobal nocompatible nomore cpo-=C

if exists('$PLUGIN_TO_TEST')
  set runtimepath+=$PLUGIN_TO_TEST
else
  set runtimepath+=.
endif

let g:parinfer_logfile = bufname('%').'.log'

filetype on
syntax on
try
  runtime plugin/parinfer.vim

  " :PlugUpdate and other things might want to reload the plugin.  Ensure we
  " can do that.
  runtime plugin/parinfer.vim
catch
  echohl ErrorMsg
  echo "Error loading Vim plugin:" v:exception
  echohl None
  cquit
endtry

" Kinda simulate vim-fireplace command-line window
au CmdWinEnter @ setlocal filetype=clojure
au CmdWinLeave @ setlocal filetype< omnifunc<