Commit Graph

305 Commits

Author SHA1 Message Date
Tim Pope
9749177034 Don't assume src/ in Leiningen projects
Fun fact: it's impossible to reliably predict whether a given
project.clj is a Leiningen project file or not.

Closes #51.
2013-02-10 11:48:48 -05:00
Tim Pope
eff7bcec61 Rename functions again 2013-02-08 12:14:58 -05:00
Tim Pope
a1068949b1 Support booleans in foreplay#evalparse 2013-02-08 10:26:14 -05:00
Tim Pope
a6012b5032 Rename foreplay#eval to foreplay#eval_pr_str
Goal is to rename foreplay#evalparse to foreplay#eval.
2013-02-08 00:35:15 -05:00
Tim Pope
b94a694254 Rename foreplay#evalprint to foreplay#eval_prn 2013-02-08 00:34:13 -05:00
Jeremy Holland
47ea532d8e Fix typo 2013-02-05 11:12:51 -05:00
Tim Pope
105b01d7d0 Provide :Last
Closes #7.
2013-01-29 19:15:21 -05:00
Tim Pope
d2bc102487 Alternate between test and implementation
Closes #33.
2013-01-25 12:27:03 -05:00
Tim Pope
f653f18e64 Fix gf when file hasn't been required yet
Closes #44.
2013-01-25 11:22:10 -05:00
Jacek Lach
511a123421 Decode paths for aliased namespaces. 2013-01-25 15:09:04 +00:00
Tim Pope
53201c89de Fix recognition of REPL disconnection 2013-01-24 16:38:00 -05:00
Tim Pope
7ff2191a30 Automatically open location list on exception
Closes #39.
2013-01-23 22:23:42 -05:00
Tim Pope
cd54b73e88 Fix Ruby nREPL connection on Windows
I do not understand why tripling quotes escapes them.

Closes #41.
2013-01-19 23:11:04 -05:00
Tim Pope
c0bdf9b971 Fix decoding URLs 2013-01-19 23:06:57 -05:00
Tim Pope
a80ff87f94 Better handling of resource paths on Windows
References #40.
2013-01-19 23:01:53 -05:00
Tim Pope
274c4da054 Apply fnameescape() to source location
References #40.
2013-01-19 16:32:57 -05:00
Paul deGrandis
da70e71023 Fixed a typo bug; gd in new tab 2013-01-19 12:33:44 -08:00
Tim Pope
f4e9f1c10a Use namespaces in critical path 2013-01-16 01:01:09 -05:00
Tim Pope
aed21575b8 Fix stack trace parsing with "Unknown Source"
Closes #37.
2013-01-15 21:35:40 -05:00
Tim Pope
123bea5850 Fix stack trace parsing with one-off runner 2013-01-15 21:34:41 -05:00
Tim Pope
fd8d623b7b Catch one line stack traces
References #38.
2013-01-15 20:45:44 -05:00
Tim Pope
6f93e99ede Strip all carriage returns out of output
Closes #38.
2013-01-15 20:17:59 -05:00
Tim Pope
fbd8a0844a OCD 2013-01-15 20:04:46 -05:00
Tim Pope
1db6dbed3f Cache executable('zipinfo') for speed on Windows
Closes #36.
2013-01-15 19:17:55 -05:00
Tim Pope
879443c846 Fewer explosions when gf goes wrong 2013-01-13 10:28:25 -05:00
Tim Pope
286a1f6c47 Allow interrupting nREPL connection
Closes #30.
2013-01-10 23:09:54 -05:00
Tim Pope
7a36f4e8b8 Remove if_ruby adapter
The list of things worse than if_ruby is pretty short, and does not
include if_pyth.
2013-01-09 00:41:46 -05:00
Raymond W. Ko
c7f2a2ab6b Fix eval with trailing comment in nREPL adapter 2013-01-09 00:13:21 -05:00
Tim Pope
058da0d71c Account for long ns doc strings 2013-01-09 00:07:24 -05:00
Tim Pope
fbfc6e09b4 Load stack traces into location list.
Closes #20.
2013-01-07 22:41:04 -05:00
Tim Pope
84168b7c5e Monkey patch to support zip files in quickfix 2013-01-07 22:32:57 -05:00
Tim Pope
6c2e33f715 Fix gilardi scenario 2013-01-07 18:58:01 -05:00
Tim Pope
be964782b8 Remove half baked crap 2013-01-07 01:55:08 -05:00
Tim Pope
528cb5b01a Capture nREPL stack trace 2013-01-07 01:51:48 -05:00
Tim Pope
0ff9cd710d Tighten error handling of lein autoconnect
Fixes #28.
2013-01-06 23:18:15 -05:00
Tim Pope
3ee902f648 Fix one-off runner
Closes #29.
2013-01-06 20:54:42 -05:00
Tim Pope
0d96405c1f Promote classpath.vim
The included version is going away.  Let's start getting people to
install it.
2013-01-06 20:19:16 -05:00
Tim Pope
4c60151330 Bring $JAVA_CMD inline 2013-01-06 19:53:37 -05:00
Tim Pope
8ad87d4fba Remove specialized shell escape function
The cases this was guarding against aren't actually relevant any more.
2013-01-06 19:04:06 -05:00
Raymond W. Ko
fc5167b939 Update documentation to reflect Python addition 2013-01-06 18:59:32 -05:00
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