Commit Graph

197 Commits

Author SHA1 Message Date
Tim Pope 0bc928f0fc Automatic require :reload on :RunTests
Really, I just want an atomic way to perform these two operations.
:Require|RunTests seems like it would work, but it obliviously runs the
tests even if the require fails, plus copes poorly with the one-off
runner.
2014-04-28 23:06:21 -04:00
Tim Pope 12386dc0c2 Fix newlines in c!
Closes #146.
2014-04-23 23:16:02 -04:00
Tim Pope e484ad6996 Use info op to drive jump to definition 2014-04-20 18:55:37 -04:00
Tim Pope e974dd4766 Prepare for extraction of leiningen support 2014-04-20 18:53:01 -04:00
Tim Pope 2d1f3088b2 Fix :RunTests with no argument 2014-04-14 01:55:16 -04:00
Tim Pope f25003deef Decouple quickfix massaging from lein support 2014-04-14 00:22:43 -04:00
Tim Pope 5f1cee19c0 Never throw exception in fireplace#op_available 2014-04-12 21:49:45 -04:00
Tim Pope c6e0d55143 Use nrepl complete op if available
Closes #65.
2014-04-12 21:20:15 -04:00
Tim Pope 89acd66d6d Drop qualification of macroexpand-1
Who would shadow this?
2014-04-12 21:18:18 -04:00
Tim Pope feb8ebc976 Happy path for lookup macros 2014-04-12 21:18:18 -04:00
Tim Pope f5ded81baf Drop unnecessary clojure.core
We're in a clean user ns so the qualification is unnecessary here.
2014-04-12 21:18:18 -04:00
Tim Pope 238b526cf2 Use user ns to avoid qualification 2014-04-12 21:18:18 -04:00
Tim Pope 9e826faff4 Allow omitting ns from fireplace#message 2014-04-12 20:31:18 -04:00
Tim Pope 79c2a718da Allow checking for nREPL op 2014-04-12 20:31:18 -04:00
Tim Pope c48adc045b Fix jump location for :RunTests error 2014-04-12 20:28:34 -04:00
Tim Pope bc8f3af299 Cleaner classpath retrieval 2014-04-12 18:15:22 -04:00
Tim Pope 2dec3b49b2 Expose fireplace#register_port_file
References #121.
2014-04-10 23:25:59 -04:00
Tim Pope ea1012e1be Don't use session for :Source/:Doc 2014-04-09 13:23:19 -04:00
Tim Pope 916fc04ecb Don't depend on classpath.vim
Other plugins should be able to set up the path as well without
classpath.vim serving as a clearinghouse.
2014-04-09 13:20:13 -04:00
Tim Pope ead617d9c3 Centralize use of classpath.vim 2014-04-09 12:45:54 -04:00
Tim Pope f43fa99703 Fix check for haslocaldir() 2014-04-05 19:27:41 -04:00
Tim Pope 6130d01b33 Give up on autostart with "headless" handler 2014-04-04 02:15:25 -04:00
Tim Pope b0f9fad9ec Autostart lein repl with dispatch.vim
Great idea?  Or greatest idea?
2014-04-04 01:57:43 -04:00
Tim Pope 4425618825 Add run-tests to cpr
Clobbering the quickfix is probably a deal breaker but hey let's try it
anyways.

References #59.
2014-04-04 00:58:52 -04:00
Tim Pope 092ab0f70e Provide :RunTests
:RunTests! currently calls (run-all-tests), but if we find a more useful
semantic for ! that might change.

Closes #59.
2014-04-04 00:58:21 -04:00
Tim Pope 6c13396262 Remove dead code 2014-04-03 21:16:42 -04:00
Tim Pope 9a689480ef Better rooting with findfile()
I think this is more portable.
2014-04-03 21:09:00 -04:00
Tim Pope ab5eee34d8 Support .nrepl-port outside of Leiningen 2014-04-03 21:03:26 -04:00
Tim Pope ab6d9db216 Tentatively drop support for session eval without REPL
I'm not 100% committed to this, but lets see if anyone even misses it
(including me).  My main use case for the one-off runner is jump to
source.
2014-04-03 19:37:47 -04:00
Tim Pope da3f5857b5 Respect jump list on ]<C-D> within same file
Closes #70.
2014-04-03 18:23:24 -04:00
Tim Pope d65eaa5068 Fix c!! with selection=inclusive
References #110.
2014-04-03 16:23:13 -04:00
Tim Pope 90b909b9f4 Use innermost form with cpp et al
Closes #119.
2014-03-29 20:52:31 -04:00
Tim Pope b139d72da4 Fix check for classpath function 2014-03-21 01:38:45 -04:00
Neil Kirsopp 77b06741ef Remove ANSI escapes from stderr as well 2014-03-20 17:11:16 +00:00
Neil Kirsopp 72794b36d9 Remove ANSI from standard out 2014-03-20 16:50:40 +00:00
Steve Losh 3a843cb1b1 Add arglists to the omnicomplete preview window
When you use omnicomplete the arglists of functions are shown in the
popup menu and the docstrings in the preview window.  This patch adds
the arglists into the preview window too.  This is handy because once
you select a completion you'll still be able to see the arglists as you
write the rest of the form.
2014-02-14 19:38:58 -05:00
Tim Pope 97d78f6829 Allow quotes in :Piggieback argument
Closes #134.
2014-02-05 20:29:09 -05:00
Tim Pope d3e6bd34ae Fix check for b:fireplace_ns
Closes #133.
2014-02-05 10:19:01 -05:00
Tim Pope 5a86ec2c81 Fix lein stacktrace parsing without live REPL 2014-01-30 23:30:53 -05:00
Tim Pope eb27299bd9 Parse stacktraces from :make with lein 2014-01-30 23:13:57 -05:00
Tim Pope 0095241a6f :Piggieback 2014-01-19 17:59:40 -05:00
Tim Pope 226c5a0fd1 Special case :Require in cljs 2014-01-18 23:26:27 -05:00
Tim Pope 766c8d6bc9 Don't require successful ns load to send nREPL message 2014-01-18 23:25:44 -05:00
Tim Pope 385d8288db Fix null namespace issue 2014-01-18 23:15:53 -05:00
Tim Pope 81ca22bfe2 Fix cpp with piggieback 2014-01-17 22:16:18 -05:00
Tim Pope 0d7b97df7c Initial piggieback support 2014-01-17 20:28:10 -05:00
Tim Pope 0520e4fa32 Extract disconnection cleanup for general use 2014-01-17 17:52:02 -05:00
Tim Pope a568535bcd Support buffer path without classpath.vim 2014-01-17 05:44:42 -05:00
Tim Pope 64f0ae7bbe Extract spawning eval logic 2014-01-17 05:03:09 -05:00
Tim Pope ee141c0256 Do people test ClojureScript? 2014-01-17 04:35:30 -05:00