Permalink
Browse files

Version 0.5.2

Adapted Clojure API lookup and JAR autodetection to version 1.0, Complete-Symbol moved to separate Edit submenu, added Close-Form command.
  • Loading branch information...
kovisoft authored and vim-scripts committed May 6, 2009
1 parent 83693a8 commit 304bc0a6a77fe3cea7a70944f20f6d5477993ae2
Showing with 567 additions and 507 deletions.
  1. +14 −3 doc/slimv.txt
  2. +10 −3 ftplugin/clojure/slimv-clojure.vim
  3. +504 −499 ftplugin/slimv-cljapi.vim
  4. +39 −2 ftplugin/slimv.vim
View
@@ -1,7 +1,7 @@
-*slimv.txt* Slimv Last Change: 23 Apr 2009
+*slimv.txt* Slimv Last Change: 06 May 2009
Slimv *slimv*
- Version 0.5.1
+ Version 0.5.2
The Superior Lisp Interaction Mode for Vim.
This plugin is aimed to help Lisp development by interfacing between Vim and
@@ -505,12 +505,18 @@ Example:
*slimv_keyboard*
The default keybindings (|g:slimv_keybindings|=1) and another easy to remember
-built in keybinding set (|g:slimv_keybindings|=2) for Slimv are the following:
+built in keybinding set (|g:slimv_keybindings|=2) for Slimv are the following.
+Please note that the leading ',' key below refers to <Leader>, which is set
+by Slimv to ',' by default.
Set#1 Set#2 Command
---------------------------------------------------
,, ,, Slimv Menu
+ Edit commands (Insert mode):
+ <C-X>0 Close-Form
+ <C-X><C-O> Complete-Symbol
+
Evaluation commands:
,d ,ed Eval Defun
,e ,ee Eval Last Expression
@@ -919,6 +925,11 @@ FAQ *slimv-faq*
===============================================================================
CHANGE LOG *slimv-changelog*
+0.5.2 - Updated Clojure API.
+ - Adapted Clojure autodetection to version 1.0 (clojure-1.0.0.jar).
+ - Complete-Symbol command moved to separate Edit submenu.
+ - Added Close-Form command to the Edit submenu.
+
0.5.1 - Added symbol name completion based on the Hyperspec database.
0.5.0 - Major project reorganization:
@@ -1,7 +1,7 @@
" slimv-clojure.vim:
" Clojure filetype plugin for Slimv
-" Version: 0.5.1
-" Last Change: 22 Apr 2009
+" Version: 0.5.2
+" Last Change: 04 May 2009
" Maintainer: Tamas Kovacs <kovisoft at gmail dot com>
" License: This file is placed in the public domain.
" No warranty, express or implied.
@@ -24,9 +24,16 @@ function! b:SlimvAutodetect()
return ['"java -cp clojure.jar clojure.lang.Repl"', 'clojure']
endif
+ " Try to find Clojure in the PATH
+ let path = substitute( $PATH, ';', ',', 'g' )
+ let lisps = split( globpath( path, 'clojure*.jar' ), '\n' )
+ if len( lisps ) > 0
+ return ['"java -cp ' . lisps[0] . ' clojure.lang.Repl"', 'clojure']
+ endif
+
if g:slimv_windows
" Try to find Clojure on the standard installation places
- let lisps = split( globpath( 'c:/*clojure*', 'clojure.jar' ), '\n' )
+ let lisps = split( globpath( 'c:/*clojure*', 'clojure*.jar' ), '\n' )
if len( lisps ) > 0
return ['"java -cp ' . lisps[0] . ' clojure.lang.Repl"', 'clojure']
endif
Oops, something went wrong.

0 comments on commit 304bc0a

Please sign in to comment.