guns / vim-clojure-static

Meikel Brandmeyer's excellent Clojure runtime files
Other
420 stars 50 forks source link

Error with processing function #50

Closed JulianGindi closed 10 years ago

JulianGindi commented 10 years ago

I recently installed both vim-fireplace and vim-clojure-static and keep running into an issue when opening a Clojure file within Vim. The stack trace looks like the following:

4018 Searching for "/Users/Serenity/.vim/bundle/vim-clojure-static/after/compiler/lein.vim"
4019 Error detected while processing function <SNR>78_activate..<SNR>78_path:
4020 line   17:
4021 E15: Invalid expression:▫
4022 Error detected while processing function <SNR>78_activate:
4023 line    7:
4024 E714: List required
4025 Executing BufWinEnter Auto commands for "*"
4026 autocommand call ResCur()

I was wondering if maybe I installed something incorrectly. Any help would be awesome!

guns commented 10 years ago

Hello!

There could be any number of things wrong with your installation; the most dependable way of debugging this sort of issue is to start from a clean setup.

How did you install fireplace and vim-clojure-static? Are you familiar with setting up a Vim environment from scratch?

JulianGindi commented 10 years ago

I installed fireplace and vim-clojure-static via Vundle. I have a pretty in-depth Vim setup so I'm not if there is a safe way for me to test a clean setup.

guns commented 10 years ago

Here is an easy way to get a clean setup without moving any files (bash syntax):

$ command vim -N -u <(echo 'set rtp^=~/.vim/bundle/vim-clojure-static,~/.vim/bundle/vim-fireplace | filetype plugin indent on | syntax on') -U NONE path/to/your/clojure/file

This assumes that you have vim-clojure-static and vim-fireplace installed to ~/.vim/bundle. Please tell me if you see the same issue after invoking Vim in this way.

guns commented 10 years ago

Hello,

I'm going to close this issue since it looks like a local setup error. Please feel free to reopen if you disagree!

Cheers