Commit Graph

37 Commits

Author SHA1 Message Date
David Greenberg fb9b128287 Added fuzzy omnicompletion.
This allows Clojure namespaces, vars, and aliases to be fuzzily
completed. It does not handle Java classes or packages.
2012-12-15 21:06:01 -05:00
Tim Pope 8e27700f75 Tone down the snark a bit 2012-12-15 16:32:41 -05:00
Tim Pope 79c2bc0730 Look for in-ns when determining buffer namespace
Closes #19.
2012-12-15 16:26:31 -05:00
Tim Pope 0ba2be1e59 More fixes for broke stuff 2012-12-15 15:44:32 -05:00
Tim Pope 53c8e0408b Make the previous two commits actually work 2012-12-15 15:36:50 -05:00
Tim Pope 1aa3a32fbe Centralize output/throw from eval
Supports #7.
2012-12-15 01:32:08 -05:00
Tim Pope 5b42ed5c65 Reimplement nrepl/combine-responses 2012-12-15 01:31:22 -05:00
Tim Pope 53bd402662 Use :Javadoc for capitalized classes with K
Closes #15.
2012-12-14 19:23:34 -05:00
Tim Pope 56cd47c52e Provide :Javadoc
In support of #15.
2012-12-14 19:23:34 -05:00
Tim Pope 693de7cf45 Drop generic tab complete for :Apropos 2012-12-14 19:23:34 -05:00
Tim Pope cef0d22aa0 Fix :Eval on opening parenthesis
Closes #17.
2012-12-14 13:59:54 -05:00
Tim Pope 0f61810784 Fix top-level expr location in :Eval
Closes #17.
2012-12-14 13:22:02 -05:00
Tim Pope 44dc41c011 Reference static runtime files
Closes #12.
2012-12-13 23:01:59 -05:00
Tim Pope 9cd3653460 Use nREPL sessions if output bug not present
A bug in the current version of nREPL doesn't send us *out* and *err* if
a session is used.  nREPL 0.2.0-RC2 promises to fix that.  When it does,
we'll start using sessions.

Closes #11.
2012-12-10 20:11:29 -05:00
Tim Pope 23fb876909 Fix output after cp on large expressions
The expression for cp is grabbed in visual mode, forcing the window to
shift if the entire expression doesn't fit.  Fixing that is hard, so
instead lets just preemptively redraw so a scroll doesn't blow away the
output.
2012-12-10 19:52:58 -05:00
Tim Pope aa443b8836 Refer to root for REPL as a "scope"
References #13.
2012-12-10 17:32:01 -05:00
Tim Pope f1f9276bbe Strip trailing slash from REPL root
Also, use a ~ path, if possible.

References #13.
2012-12-10 17:24:28 -05:00
Tim Pope 8b13cb2fe8 Fix use of REPL root
Closes #13.
2012-12-10 14:50:00 -05:00
Tim Pope bcaa71ae7c Fix wrong modifier 2012-12-09 14:40:27 -05:00
Tim Pope 5179fb3402 Kill visual mode maps
I didn't mean to release these, just yet.
2012-12-09 14:20:19 -05:00
Tim Pope 9552ad6e23 Don't detect incorrect root on fake paths
For example, fugitive buffers were getting detected using the current
working directory.
2012-12-09 14:12:57 -05:00
Tim Pope cb1ebfbc5b Drop unnecessary use of anonymous function 2012-12-09 12:31:56 -05:00
Tim Pope b3b3ce4bca Add cpr/cpR maps to require.
In response to discussion in #4.
2012-12-07 20:15:48 -05:00
Tim Pope 19f2f9cc28 Fix clobbering of output on cp
Closes #10.
2012-12-07 19:27:24 -05:00
Tim Pope 9161a36da0 Fix ruby namespacing issue with Command-T
Closes #6.
2012-12-07 09:40:33 -05:00
Tim Pope 1a036ebed1 Fix search/replace fail 2012-12-06 23:04:48 -05:00
Tim Pope bc9d873fff Default to user namespace
Closes #9.
2012-12-06 20:44:00 -05:00
Tim Pope 8ce5fbd119 Explicitly prefer top level VIM module
Hopefully resolves #6.
2012-12-06 18:08:44 -05:00
Tim Pope 8865fcbb23 Leverage classpath#split from ns completion 2012-12-05 13:16:10 -05:00
Tim Pope 17e3eeb2c6 Work around 'wildignore'
Closes #5.
2012-12-05 13:12:39 -05:00
Tim Pope 1bda41a59f Drop trailing colon in error 2012-12-05 00:06:00 -05:00
Tim Pope 0df564966f Don't try to guess class path in jar files
The 'path' is copied in to jar file buffers on arrival.  Don't clobber
it with the $CLASSPATH default.
2012-12-04 22:32:30 -05:00
Tim Pope 208f549664 Throw error if requiring doesn't load namespace
References #2.
2012-12-04 20:28:07 -05:00
Tim Pope a5bc4b0b44 nREPL: Throw error on invalid namespace
References #2.
2012-12-04 20:18:55 -05:00
Tim Pope 7a98feb253 Try to remove comments in cq
This will break on strings with semicolons in them.
2012-12-04 20:18:54 -05:00
Trevor Hartman a5d60016a2 Remove superfluous request 2012-12-04 12:54:27 -05:00
Tim Pope ff9e3b5cd7 Initial commit 2012-12-04 01:38:17 -05:00