[ANN] VimClojure 2.3.0

209 views
Skip to first unread message

Meikel Brandmeyer

unread,
Oct 5, 2011, 4:15:53 PM10/5/11
to vimcl...@googlegroups.com
Dear vimming clojurians,

after much too long a time (one year and one day) there is finally a fresh release of VimClojure. Just after the release of 1.3, it makes the backend 1.3 ready and provides a lot of fixes and improvements under the hood. (Hopefully without introducing too much regressions.)

New features are:
* The nailgun server and port may now be configured.
* Rainbow parens may be toggled on or off.
* The fuzzy indent option improves indentation based on the form name.
* The Repl now always enters a newline on <CR>. <C-CR> submits the expression. This can be easily flipped if desired.
* VimClojure now also provides a gradle plugin to easily start the backend server via gradle.

The vimplugin can be found as usual on vim.org. The server backend and the gradle plugin are available from clojars as server resp. gradle artifacts in the vimclojure group.

Gugsch Du hier: http://bitly.com/opoBde

Sincerely
Meikel

Ambrose Bonnaire-Sergeant

unread,
Oct 5, 2011, 8:53:28 PM10/5/11
to vimcl...@googlegroups.com
Excellent, nice work!

Ambrose


--
You received this message because you are subscribed to the Google Groups "vimclojure" group.
To post to this group, send email to vimcl...@googlegroups.com.
To unsubscribe from this group, send email to vimclojure+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/vimclojure?hl=en.


Dave Ray

unread,
Oct 5, 2011, 9:03:29 PM10/5/11
to vimcl...@googlegroups.com
Yeah. Thanks Meikel!

Wolodja Wentland

unread,
Oct 7, 2011, 12:43:20 PM10/7/11
to vimcl...@googlegroups.com
Dear Meikel,

On Wed, Oct 05, 2011 at 22:15 +0200, Meikel Brandmeyer wrote:
> after much too long a time (one year and one day) there is finally a fresh
> release of VimClojure. Just after the release of 1.3, it makes the backend
> 1.3 ready and provides a lot of fixes and improvements under the hood.
> (Hopefully without introducing too much regressions.)

Thank you very much for your wonderful work.

> New features are:


> * The Repl now always enters a newline on <CR>. <C-CR> submits the expression. This can be easily flipped if desired.

I do not see this behaviour. <CR> still submits the expression as before. Is
there an easy way to test which version I am running. How would this be
flipped if desired?

I also had to fork one of the lein-nailgun plugins as the old ones targetted
2.2.0.
--
Wolodja <bab...@gmail.com>

4096R/CAF14EFC
081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC

signature.asc

Chris Granger

unread,
Oct 8, 2011, 1:13:31 PM10/8/11
to vimclojure
Update version of lein nailgun here: http://clojars.org/org.clojars.ibdknox/lein-nailgun
> Wolodja <babi...@gmail.com>
>
> 4096R/CAF14EFC
> 081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
>
>  signature.asc
> < 1KViewDownload

Wolodja Wentland

unread,
Oct 8, 2011, 8:08:33 PM10/8/11
to vimclojure
On Sat, Oct 08, 2011 at 10:13 -0700, Chris Granger wrote:
> Update version of lein nailgun here: http://clojars.org/org.clojars.ibdknox/lein-nailgun

I've essentially cloned it myself and will probably just keep on maintaining
my version. There are way too many lein-{vimclojure,nailgun} projects already
which is why I did not put it on Clojars.

It would be nice if there were a single officially maintained version though.
I remember that I had to spend quite a long time to figure out how I want to
setup/install vimclojure for the first time. (Mostly because there are so many
different ways/tutorials).
--
Wolodja <bab...@gmail.com>

signature.asc

Meikel Brandmeyer

unread,
Oct 9, 2011, 5:04:15 PM10/9/11
to vimcl...@googlegroups.com
Hi,

Am 09.10.2011 um 02:08 schrieb Wolodja Wentland:

> It would be nice if there were a single officially maintained version though.

I once proposed to the author, that it is included into the official distribution like the new gradle plugin. However he was not interested to move the code into the official repo. If you'd manage to settle on a single, “community approved” so-to-say flavor, it would be highly appreciated.

Sincerely
Meikel


Meikel Brandmeyer

unread,
Oct 10, 2011, 2:23:16 AM10/10/11
to vimcl...@googlegroups.com
Hi,


Am Freitag, 7. Oktober 2011 18:43:20 UTC+2 schrieb Wolodja Wentland:
 

I do not see this behaviour. <CR> still submits the expression as before.

This happens when you are after the expression and if its complete. But when you navigate into the expression you can enter newlines.

[1 2 3<CR> => newline
[1 2 3<CR>] => newline
[1 2 3]<CR> => submit
 

Is there an easy way to test which version I am running.

Not at the moment. I will add a way to retrieve the version information.

How would this be flipped if desired?

Put this into ftplugin/clojure.vim:

if exists("b:vimclojure_repl")
    imap <buffer> <silent> <CR> <Plug>ClojureReplEvaluate
    imap <buffer> <silent> <C-CR> <Plug>ClojureReplEnterHook
endif

Sincerely
Meikel

Wolodja Wentland

unread,
Oct 10, 2011, 4:06:25 AM10/10/11
to vimcl...@googlegroups.com
On Sun, Oct 09, 2011 at 23:23 -0700, Meikel Brandmeyer wrote:
> Am Freitag, 7. Oktober 2011 18:43:20 UTC+2 schrieb Wolodja Wentland:
>
> I do not see this behaviour. <CR> still submits the expression as before.
>
> This happens when you are after the expression and if its complete. But when
> you navigate into the expression you can enter newlines.
>
> [1 2 3<CR> => newline
> [1 2 3<CR>] => newline
> [1 2 3]<CR> => submit

Thank you. That is exactly the behaviour I see. I just misunderstood the
following message:

> * The Repl now always enters a newline on <CR>

Thanks again for your work on vimclojure.

signature.asc

Meikel Brandmeyer

unread,
Oct 10, 2011, 4:18:46 AM10/10/11
to vimcl...@googlegroups.com
Hi,


Am Montag, 10. Oktober 2011 10:06:25 UTC+2 schrieb Wolodja Wentland:
> [1 2 3<CR> => newline
> [1 2 3<CR>] => newline
> [1 2 3]<CR> => submit

Thank you. That is exactly the behaviour I see. I just misunderstood the
following message:

> * The Repl now always enters a newline on <CR>

Ah. Indeed. "always" is wrong here. Which leads to the question, what should be corrected? The "always" or the "submit" in the examples above?

Sincerely
Meikel

 

Wolodja Wentland

unread,
Oct 10, 2011, 6:13:12 AM10/10/11
to vimcl...@googlegroups.com

I am very happy with the way it works now as it behaves as I would it expect
to intuitively. It is just that I thought that it is behaving in the following
way after reading your summary:

> [1 2 3<CR> => newline
> [1 2 3<CR>] => newline

> [1 2 3]<CR> => newline

Which is IMHO neither desirable nor expected. Just keep it the way it is and
concentrate on other important aspects. (debugging, ...) I am very happy that
you work on making vim a wonderful platform for Clojure development and can
not thank you enough. Have a nice day!

signature.asc

jingguo

unread,
Oct 11, 2011, 11:53:19 AM10/11/11
to vimclojure
Meikel:

Is there a http://kotka.de/projects/vimclojure/vimclojure-nailgun-client-2.3.0.zip
for 2.3.0 release? I can only find http://kotka.de/projects/vimclojure/vimclojure-nailgun-client-2.2.0.zip.
> Wolodja <babi...@gmail.com>
>
> 4096R/CAF14EFC
> 081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
>
>  signature.asc
> < 1KViewDownload

Meikel Brandmeyer

unread,
Oct 11, 2011, 4:28:05 PM10/11/11
to vimcl...@googlegroups.com
Hi,

Am 11.10.2011 um 17:53 schrieb jingguo:

Woops. Forgot that one. Fixed now. However the old will do, too. There is no need to upgrade the client since nothing changed there.

Sincerely
Meikel

jingguo

unread,
Oct 11, 2011, 9:45:57 PM10/11/11
to vimclojure
Meikel:

Thanks. The link now works.

On Oct 12, 4:28 am, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> Am 11.10.2011 um 17:53 schrieb jingguo:
>
> > Is there ahttp://kotka.de/projects/vimclojure/vimclojure-nailgun-client-2.3.0.zip
> > for 2.3.0 release? I can only findhttp://kotka.de/projects/vimclojure/vimclojure-nailgun-client-2.2.0.zip.
Reply all
Reply to author
Forward
0 new messages