Permalink
Browse files

Version 0.9.8

Added autodetection for 'ccl'. Delete empty lines when re-gathering Electric Returns. Inspector: put multiple items in one line (like in Slime), highlight selectable parts and actions, hide item id-s, display "path" of inspected object. Don't extend s-expression with prefix when macroexpanding. Don't evaluate or compile the REPL buffer. Added device to the path when loading pretty printer patches for SBCL (thanks to Andrew Lyon). Added option g:slimv_repl_simple_eval and Electric Return for REPL buffer. Print arglist when pressing Space after closing parens or double quotes, also when pressing Enter. Added "Clear REPL" entry to the REPL menu (mapped to <Leader>-). Paredit: special handling of cw, cb, ciw, caw supporting repeat ('.'). Do not describe empty symbol. Prefer selecting symbol to the left when cursor is on whitespace. Added "." character to iskeyword for Lisp. Removed "." when selecting symbol for completion for Clojure. Increased fuzzy completion limit. Bugfixes: Find package/namespace when current form is in a fold. PareditToggle ckecks if buffer was registered for Paredit. Electric Return re-gathering at end of line with no virtualedit. Extra character at the end of selection using 'v('. Garbage upon pressing ')' or Enter in completion popup. Paredit 'x' at end of line when 'whichwrap' includes h,l. Arglist sometimes not displayed. Paredit Wrap when line ends in a multibyte character (thanks to Sung Pae).
  • Loading branch information...
kovisoft authored and vim-scripts committed Aug 18, 2012
1 parent e64fe43 commit 3eb08d456b002948766f437299c3a3e3a2c11ce2
Showing with 399 additions and 79 deletions.
  1. +5 −4 doc/paredit.txt
  2. +57 −5 doc/slimv.txt
  3. +3 −2 ftplugin/lisp/slimv-lisp.vim
  4. +211 −31 ftplugin/slimv.vim
  5. +17 −15 ftplugin/swank.py
  6. +105 −22 plugin/paredit.vim
  7. +1 −0 slime/contrib/swank-presentation-streams.lisp
View
@@ -1,7 +1,7 @@
-*paredit.txt* Paredit Last Change: 22 May 2012
+*paredit.txt* Paredit Last Change: 06 Jul 2012
Paredit Mode for Vim *paredit* *slimv-paredit*
- Version 0.9.7
+ Version 0.9.8
The paredit.vim plugin performs structured editing of s-expressions used in
the Lisp, Clojure, Scheme programming languages. It may come as part of Slimv
@@ -391,8 +391,9 @@ pressing the next closing paren. This feature allows linewise editing of the
subform entered in the next (empty) line.
In other words <Enter> "opens" parenthetical expressions while editing, ')'
"closes" them.
-Please note that electric return is disabled for the REPL buffer where
-<Enter> is used to send the command line to the swank server for evaluation.
+Please note that electric return is disabled for the REPL buffer if Slimv
+option |g:slimv_repl_simple_eval| is nonzero. In this case <Enter> is used
+to send the command line to the swank server for evaluation.
Please find a video demonstration of the electric return feature here:
http://img8.imageshack.us/img8/9479/openparen.gif
View
@@ -1,7 +1,7 @@
-*slimv.txt* Slimv Last Change: 29 May 2012
+*slimv.txt* Slimv Last Change: 18 Aug 2012
Slimv *slimv*
- Version 0.9.7
+ Version 0.9.8
The Superior Lisp Interaction Mode for Vim.
This plugin is aimed to help Lisp development by interfacing between Vim and
@@ -188,6 +188,8 @@ For the Swank options plese visit |swank-configuration|.
|g:slimv_repl_name| Name of the REPL buffer.
+|g:slimv_repl_simple_eval| <CR> evaluates form in the REPL buffer.
+
|g:slimv_repl_split| Open the Lisp REPL buffer in a split window
or in a separate buffer.
@@ -489,6 +491,24 @@ parens and/or double quotes may remain in order to maintain their balanced
state. The default value for this option is 0, meaning that the number of lines
is unlimited, i.e. no line is ever erased.
+ *g:slimv_repl_simple_eval*
+This option controls the behaviour of insert mode <CR>, <Up>, <Down> in the
+REPL buffer.
+
+If nonzero then:
+ <CR> Evaluates the form entered in the command line
+ <Up> Brings up the previous command from the command line history
+ <Down> Brings up the next command from the command line history
+ <C-CR> Closes and evaluates the form entered in the command line
+
+If the option is zero then:
+ <C-CR> Closes and evaluates the form entered in the command line
+ <C-Up> Brings up the previous command from the command line history
+ <C-Down> Brings up the next command from the command line history
+ <CR> Inserts a newline
+ <Up> Moves the cursor up
+ <Down> Moves the cursor down
+
*g:slimv_repl_syntax*
Enables syntax highlighting for the REPL buffer. It is enabled by default but
one may want to switch it off for these reasons:
@@ -689,7 +709,7 @@ sequence, then you may want to fine tune these Vim options:
<C-C> <C-C> Interrupt Lisp Process
,<Up> ,rp Previous Input
,<Down> ,rn Next Input
- ,z ,rr Refresh REPL Buffer
+ ,- ,rc Clear REPL
Note:
Some mappings accept an optional "x prefix (where x is a register name)
@@ -1083,6 +1103,9 @@ Insert Mode:
<Down> Brings up the next command typed and sent to the Lisp REPL
when in the command line.
+Please note that the behaviour of <CR>, <Up>, <Down> is affected by the value
+of option |g:slimv_repl_simple_eval|.
+
===============================================================================
CLOJURE SUPPORT *slimv-clojure*
@@ -1410,6 +1433,35 @@ FAQ *slimv-faq*
===============================================================================
CHANGE LOG *slimv-changelog*
+0.9.8 - Added autodetection for 'ccl'.
+ - Delete empty lines when re-gathering Electric Returns.
+ - Inspector: put multiple items in one line (like in Slime).
+ - Inspector: highlight selectable parts and actions, hide item id-s.
+ - Inspector: display "path" of inspected object.
+ - Don't extend s-expression with prefix when macroexpanding.
+ - Don't evaluate or compile the REPL buffer.
+ - Added device to the path when loading pretty printer patches for SBCL
+ (thanks to Andrew Lyon).
+ - Added option g:slimv_repl_simple_eval and Electric Return for REPL buffer.
+ - Print arglist when pressing Space after closing parens or double quotes,
+ also when pressing Enter.
+ - Added "Clear REPL" entry to the REPL menu (mapped to <Leader>-).
+ - Paredit: special handling of cw, cb, ciw, caw supporting repeat ('.').
+ - Do not describe empty symbol.
+ - Prefer selecting symbol to the left when cursor is on whitespace.
+ - Added "." character to iskeyword for Lisp.
+ - Removed "." when selecting symbol for completion for Clojure.
+ - Increased fuzzy completion limit.
+ - Bugfix: find package/namespace when current form is in a fold.
+ - Bugfix: PareditToggle ckecks if buffer was registered for Paredit.
+ - Bugfix: Electric Return re-gathering at end of line with no virtualedit.
+ - Bugfix: extra character at the end of selection using 'v('
+ - Bugfix: garbage upon pressing ')' or Enter in completion popup.
+ - Bugfix: Paredit 'x' at end of line when 'whichwrap' includes h,l.
+ - Bugfix: arglist sometimes not displayed.
+ - Bugfix: Paredit Wrap when line ends in a multibyte character
+ (thanks to Sung Pae).
+
0.9.7 - Keep cursor position on expanding [--more--] in the Inspector.
- Added [--all---] to Inspector for fetching all parts.
- Don't explicitly check for pythonXX.dll, rely on has('python').
@@ -1914,8 +1966,8 @@ Also thanks to Vlad Hanciuta, Marcin Fatyga, Dmitry Petukhov,
Daniel Solano G�mez, Brian Kropf, Len Weincier, Andreas Salwasser,
Jon Thacker, Andrew Hills, Jerome Baum, John Obbele, Andreas Fredriksson,
�mer Sinan Agacan, Tobias Pflug, Chris Cahoon, Mats Rauhala, Oleg Terenchuk,
-Andrew Lyon, Andrew Smirnoff, Brett Kosinski, David Greenberg for additional
-notes and contributions.
+Andrew Lyon, Andrew Smirnoff, Brett Kosinski, David Greenberg, Sung Pae
+for additional notes and contributions.
I would also like to say a big thank you to everyone donating to support
development. This is a one-element list at the moment: :)
@@ -1,7 +1,7 @@
" slimv-lisp.vim:
" Lisp filetype plugin for Slimv
-" Version: 0.9.4
-" Last Change: 07 Jan 2012
+" Version: 0.9.8
+" Last Change: 01 Jun 2012
" Maintainer: Tamas Kovacs <kovisoft at gmail dot com>
" License: This file is placed in the public domain.
" No warranty, express or implied.
@@ -47,6 +47,7 @@ let s:lisp_desc = [
\ [ 'alisp', 'allegro', '', '' ],
\ [ 'alisp8', 'allegro', '', '' ],
\ [ 'lwl', 'lispworks', '', '' ],
+\ [ 'ccl', 'clozure', '', '' ],
\ [ 'wx86cl', 'clozure', 'w', '' ],
\ [ 'lx86cl', 'clozure', 'l', '' ],
\ [ '*lisp.exe', 'clisp', 'w',
Oops, something went wrong.

0 comments on commit 3eb08d4

Please sign in to comment.