Commit Graph

275 Commits

Author SHA1 Message Date
Tim Pope
eae17cfb42 Drop 'includeexpr' entirely 2014-07-03 10:22:55 -04:00
Tim Pope
845b362a17 Find absolute path in 'includeexpr'
The gf map is still necessary because Vim doesn't accept zipfile paths
as valid.
2014-07-03 10:02:34 -04:00
Tim Pope
a1eef3dda1 Rearrange 2014-07-03 09:52:28 -04:00
Tim Pope
0e42998a27 Provide :RunAllTests
Don't waste :RunTests! on this cleverness.
2014-07-02 19:20:11 -04:00
Tim Pope
9c78e32f4b Add plugin maps for go to file 2014-07-02 18:44:20 -04:00
Tim Pope
fb6975bfdf Extract autocmd repetition to functions 2014-07-02 18:38:49 -04:00
Tim Pope
8defd6b17e Fix grammar: setup -> set_up 2014-07-02 18:33:23 -04:00
Tim Pope
26e467c2e7 Fix list of available protocols
Closes #165.
2014-07-01 09:19:32 -04:00
Tim Pope
6dbf627022 Make connect commands buffer local 2014-06-29 19:03:49 -04:00
Tim Pope
5ff2eeae1c Default to nrepl protocol 2014-06-29 18:54:07 -04:00
Tim Pope
94ff1464a4 Fix manual connection 2014-06-29 18:53:41 -04:00
Tim Pope
f2b6a2101f Ignore errors on autorequire if namespace created
Closes #161.
2014-06-27 13:30:12 -04:00
Tim Pope
b10259bcca Fix naming inconsistency 2014-06-27 11:17:13 -04:00
Tim Pope
bfdd052fc7 Section header style change 2014-06-27 09:46:21 -04:00
Tim Pope
c657faaf4e Remove transitional support 2014-06-27 09:45:00 -04:00
Tim Pope
e4b975eaec Don't clobber K map
Closes #163.
2014-06-25 14:52:01 -04:00
Tim Pope
049005dec7 Merge pull request #152 from jgdavey/brepl
Browser piggieback connection convenience
2014-06-10 17:56:43 -04:00
Bohr Shaw
88648b2578 Feed &cedit as a key properly - fix #62 2014-05-20 19:52:24 -04:00
Tim Pope
67078e0c34 Clarify projectionist requirement
Closes #153.
2014-05-19 19:26:13 -04:00
Joshua Davey
99d93ceba1 Browser piggieback connection convenience
When you provide a port number, you are implicitly saying you're
listening for a browser connection.
2014-05-14 08:57:31 -05:00
Tim Pope
29af4adc46 Kill :Apropos
This is broken for anything namespaced.  REPL-y's find-name is better,
but nonstandard.
2014-05-05 15:24:26 -04:00
Tim Pope
ac88f17bb4 Move window logic into test capture 2014-05-05 01:31:36 -04:00
Tim Pope
af14811869 Capture test run errors 2014-05-05 01:23:30 -04:00
Tim Pope
fa7a19140b Allow sending custom id on eval 2014-05-05 00:59:35 -04:00
Tim Pope
6cea463c97 Set title on test quickfix window 2014-05-04 22:42:58 -04:00
Tim Pope
fff348ccd0 Respect 'autowrite' in :Require and :RunTests 2014-05-04 18:09:56 -04:00
Tim Pope
020a10d06c Use info op for :Doc
This should enable ClojureScript support.
2014-05-01 22:26:53 -04:00
Tim Pope
afb036203e Drop Leiningen and alternate support 2014-04-29 21:28:28 -04:00
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
Tim Pope
6e7f22766a Disconnect when port file disappears 2014-01-17 04:30:46 -05:00
Tim Pope
91e3b35403 Kill debug 2014-01-17 00:27:45 -05:00
Neil Kirsopp
fef85624d3 Anchor to end of ns string 2014-01-15 23:40:36 -05:00
Neil Kirsopp
b92a9730f0 Very basic Midje alternate 2014-01-15 23:40:18 -05:00
Tim Pope
ef422f66e2 Remove require from client interface 2014-01-15 23:38:04 -05:00
Tim Pope
15f98b06f7 Leverage 'suffixesadd' 2014-01-15 21:37:03 -05:00
Tim Pope
76a99139d1 Remove s:client 2014-01-15 21:37:03 -05:00
Tim Pope
2a6d23f2fc Fix 2014-01-15 19:26:00 -05:00
Tim Pope
c4f677ee64 Fix fireplace#source 2014-01-14 16:28:21 -05:00
Tim Pope
4d93831925 Move includes_file out of repl client 2014-01-13 16:37:44 -05:00
Tim Pope
7c0c524259 Restore fireplace#eval for compatibility
Use fireplace#session_eval if you want to evaluate something from the
user, and fireplace#evalparse if you want to query for information.
2014-01-12 14:58:28 -05:00
Tim Pope
b56e40a2b6 Provide fireplace#path() to access class path 2014-01-12 14:00:13 -05:00
Tim Pope
98cd5e1515 Don't show stacktrace from failed java exec 2014-01-12 13:34:52 -05:00
Tim Pope
af245caf76 Propagate require error to eval 2014-01-12 01:06:11 -05:00
Tim Pope
09a0ed93cf Encapsulate disconnection detection 2014-01-12 01:06:01 -05:00
Tim Pope
9c48439da7 Leverage evalparse 2014-01-12 01:06:01 -05:00
Tim Pope
a0fde95d2e Remove unused function 2014-01-12 01:06:01 -05:00
Tim Pope
c2a90eb47f One weird trick to force namespace creation 2014-01-11 23:43:08 -05:00
Tim Pope
355580da7e Accidental commit 2014-01-11 21:55:55 -05:00
Tim Pope
c99bda551e Use python for zipfile contents when possible 2014-01-11 21:11:09 -05:00
Tim Pope
0299eac671 Adjust comment stripping heuristic for cq
Closes #89.
2014-01-11 19:10:45 -05:00
Tim Pope
f605cd7824 Do all classpath searching locally
In addition to being cleaner, this means we no longer need to worry
about evaling on a "local" server.
2014-01-11 17:48:04 -05:00