I just installed VIM and a few plugins, one of which is vim fireplace. A 
problem I have is that fireplace can't find my clojure code. I put my clojure 
code under vimfiles/bundle (I'm running windows). 

I followed these instructions:

http://kevinmccarthy.org/blog/2013/10/12/setting-up-vim-for-clojure/


When I run a sample clojure function in the command line (which I get to using 
cqc), I get the following error:
 
Error detected while processing function <SNR>20_inputeval... 
foreplay#echo_session_eval..foreplay#session_eval...<SNR>20_eval...6:
line 38
E605: Exception not caught: Error running clojure:Error:Could not find or load 
main class clojure.main^@
Error detected while processing function <SNR>20_inputeval:
line 4
E71:missing :endif










I just installed VIM and a few plugins, one of which is vim fireplace. A 
problem I have is that fireplace can't find my clojure code. I put my clojure 
code under vimfiles/bundle (I'm running windows). 

I followed these instructions:

http://kevinmccarthy.org/blog/2013/10/12/setting-up-vim-for-clojure/

When I run a sample clojure function in the command line (which I get to using 
cqc), I get the following error:
Error detected while processing function <SNR>20_inputeval... 
foreplay#echo_session_eval..foreplay#session_eval...<SNR>20_eval...6:
line 38
E605: Exception not caught: Error running clojure:Error:Could not find or load 
main class clojure.main^@
Error detected while processing function <SNR>20_inputeval:
line 4
E71:missing :endif




Here is my .vimrc:


set nocompatible
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin

syntax on
filetype plugin indent on
execute pathogen#infect()
set nobackup
set nowritebackup

set diffexpr=MyDiff()
function MyDiff()
  let opt = '-a --binary '
  if &diffopt =~ 'icase' | let opt = opt . '-i ' | endif
  if &diffopt =~ 'iwhite' | let opt = opt . '-b ' | endif
  let arg1 = v:fname_in
  if arg1 =~ ' ' | let arg1 = '"' . arg1 . '"' | endif
  let arg2 = v:fname_new
  if arg2 =~ ' ' | let arg2 = '"' . arg2 . '"' | endif
  let arg3 = v:fname_out
  if arg3 =~ ' ' | let arg3 = '"' . arg3 . '"' | endif
  let eq = ''
  if $VIMRUNTIME =~ ' '
    if &sh =~ '\<cmd'
      let cmd = '""' . $VIMRUNTIME . '\diff"'
      let eq = '"'
    else
      let cmd = substitute($VIMRUNTIME, ' ', '" ', '') . '\diff"'
    endif
  else
    let cmd = $VIMRUNTIME . '\diff'
  endif
  silent execute '!' . cmd . ' ' . opt . arg1 . ' ' . arg2 . ' > ' . arg3 . eq
endfunction 

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to