Anything special to get vim-clojure-static definition of a clojure word working?

88 views
Skip to first unread message

James Webster

unread,
Jul 28, 2013, 12:04:01 AM7/28/13
to vimcl...@googlegroups.com
Hey,

Am starting down the Clojure path, using Vim + Fireplace + Classpath + Clojure Static, all managed in my vim (Mac OS X system vim) via Vundle.

Working through the tutorial (http://clojure-doc.org/articles/tutorials/vim_fireplace.html) everything is fine and dandy, however I'm finding that navigation key combos like '] ctrl-D' aren't working on most symbols with a hyphen in their name (e.g parse-args from the example); it attempts to look for the traditional 

Is there some other directive I need to put in my .vimrc to use the correct definition of a word for .clj files, or is there some other setup required? Or is it possibly a limitation of the system vim?

guns

unread,
Jul 28, 2013, 8:09:36 PM7/28/13
to vimcl...@googlegroups.com
On Sat 27 Jul 2013 at 09:04:01PM -0700, James Webster wrote:

> Working through the tutorial
> (http://clojure-doc.org/articles/tutorials/vim_fireplace.html)
> everything is fine and dandy, however I'm finding that navigation key
> combos like '] ctrl-D' aren't working on most symbols with a hyphen in
> their name (e.g parse-args from the example)

Hello,

This should work out-of-the-box. Most of the problems people have had
have been from installing vim-clojure-static on top of installations of
VimClojure (e.g. through the Janus MacVim distribution), which step on
each other.

I would debug the problem by starting from a clean .vimrc and .vim with
nothing but vim-clojure-static¹ and vim-fireplace. If this works, then
something else is clobbering your `iskeyword` setting.

If it doesn't work, I would appreciate a bug report!

Cheers,
guns

¹ Version 7.3.803 of Vim ships with an older version of
vim-clojure-static, so you may not even need to install it separately.

James Webster

unread,
Jul 30, 2013, 6:27:25 AM7/30/13
to vimcl...@googlegroups.com
(Gah, sent this to you directly as well, but for the benefit of the mailing list...)

Was missing 'syntax on' and 'filetype plugin indent on' from my .vimrc. Pull request to have this added to the installation instructions has been raised.
Reply all
Reply to author
Forward
0 new messages