Commit Graph

315 Commits

Author SHA1 Message Date
Raymond W. Ko 9d64e45d8d Add option of using if_python if if_ruby is not available 2013-01-06 18:58:19 -05:00
Tim Pope fe8277b42f Extract classpath.vim to a separate plugin
Keeping it in the repository, for now.  Disable it with

	let g:no_foreplay_classpath = 1

This eliminates the startup delay at the cost of requiring a REPL to
evaluate code.

References #3.
2013-01-06 18:00:06 -05:00
Tim Pope 113bc5487f Clarify header of nrepl autoload file 2013-01-06 18:00:06 -05:00
Tim Pope f4a1c5a5fe Fix jump to top of file after cqp 2013-01-05 19:54:30 -05:00
Tim Pope fbc0c54548 Provide and use foreplay#evalprint()
This provides a central point for alternate output methods, such as
capturing to a buffer.

In support of #7.
2013-01-05 00:08:36 -05:00
Tim Pope e62540fef9 Separate user from system evals
This keeps the user's session clean by not using it for things the user
did not directly dispatch (such as omnicomplete).  On the fence but
currently included in the user session is commands like :Doc.
2013-01-05 00:08:32 -05:00
Tim Pope 39d1e296cf Defend against broken g:FOREPLAY_HISTORY
Closes #26.
2013-01-04 09:35:32 -05:00
Tim Pope 3ff1633daa Make client responsible for knowing class path 2013-01-03 19:10:38 -05:00
Tim Pope 3fa8d8396f Better extraction of ns form
Goal: not require class path at all.
2013-01-03 18:45:30 -05:00
Tim Pope 1d51636fa1 Enforce viminfo+=!
Hypothesis: people complaining about startup time aren't even trying
this.
2013-01-03 13:11:15 -05:00
Tim Pope 77c0166262 Add <Plug> maps for everything 2013-01-03 00:10:11 -05:00
Tim Pope 1fa30f77eb Don't rely on iskeyword to determine namespace
Workaround for #24 and #25.
2013-01-02 19:09:53 -05:00
Tim Pope 5e0d266ae4 Catch more connection errors 2013-01-01 20:15:02 -05:00
Tim Pope 5213b65b97 Fix :Apropos 2013-01-01 20:09:16 -05:00
Tim Pope 8757e41cf3 Fix potential \r in Windows target/repl-port file 2013-01-01 20:06:14 -05:00
Tim Pope b21e531998 Don't hang on connecting to lein 1.7's REPL 2012-12-31 20:41:04 -05:00
Tim Pope 36bc4baa61 Really fix classpath detection on Windows 2012-12-31 20:35:23 -05:00
Tim Pope 8fc624b04e Fix classpath detection on Windows 2012-12-31 20:22:18 -05:00
Tim Pope a31c98c9ef Properly escape temp paths on Windows
This was leading to a cryptic error message referencing \U (as in
"C:\Users").  Addresses half of #22.
2012-12-31 19:54:46 -05:00
Tim Pope 23ecbe5649 Don't look up Compojure's GET with javadoc
Closes #21.
2012-12-29 11:26:24 -05:00
Tim Pope 9551798f7d Capture stack trace in one off runner 2012-12-26 10:17:31 -05:00
Tim Pope 9a2891dc31 Revert "Added fuzzy omnicompletion."
This reverts commit fb9b128287.
2012-12-26 10:17:31 -05:00
Tim Pope 1de922423f Fix error handling of one-off runner 2012-12-25 20:28:13 -05:00
Tim Pope 811a514bed Cache jar contents 2012-12-25 20:25:53 -05:00
Tim Pope 742f23e0b9 Further fixes to doc macro dispatching 2012-12-25 20:25:50 -05:00
Tim Pope 0db6f6fb51 Fix grammar 2012-12-25 12:04:07 -05:00
Tim Pope 047932304c Fix javadoc 2012-12-25 11:56:59 -05:00
Tim Pope c8eaf2f2ad Prefer ns declaration to position in class path 2012-12-25 11:56:51 -05:00
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