Tim Pope
52758fd4ea
Callback nREPL API
...
Pass a callback to call to have it invoked for each response message.
This might one day become asynchronous in certain circumstances, but
don't count it.
2014-01-09 01:00:45 -05:00
Tim Pope
02f28c5dbb
Clean up our sessions
2014-01-08 20:59:08 -05:00
Tim Pope
bf4ca57db1
Extract python command generation
2014-01-08 00:50:46 -05:00
Tim Pope
760f50f46e
Argument switcharoo
2014-01-07 23:53:20 -05:00
Tim Pope
01e16d236b
Extract payload preparation
2014-01-07 23:28:39 -05:00
Tim Pope
02ba3de54e
Enable easier testing of Python exec
2014-01-07 23:26:26 -05:00
Tim Pope
15be24fc82
Abort python processes on Vim exit
...
You'd think a scripting language could handle portably checking if a pid
is still running but no.
2014-01-07 23:07:31 -05:00
Tim Pope
280b8d09b5
Fix warning misfire about broken sessions
2014-01-07 22:15:49 -05:00
Tim Pope
c7258fce7c
Send and filter by id
2014-01-07 20:03:06 -05:00
Tim Pope
023c8573ab
Default to sending session id
2014-01-07 20:01:33 -05:00
Tim Pope
2073263c07
Generalize interface between Vim and Python
2014-01-07 16:58:47 -05:00
Tim Pope
9664516d5f
So many missing aborts
2014-01-06 22:58:43 -05:00
Tim Pope
4ce1f8fbfa
Python all the way
2014-01-06 22:41:03 -05:00
Tim Pope
90692edc35
Different gross hack for extracting backtrace
...
Now instead of wrapping the code up in a try/catch, we just use a series
of evals to grab *e and then restore *1/*2/*3.
2013-12-31 20:04:33 -05:00
Tim Pope
fb5c946822
Slightly more elaborate hack to detect final nREPL response
2013-12-31 19:35:01 -05:00
Tim Pope
95652fc8c0
Accidental mutation
2013-12-31 19:34:52 -05:00
Tim Pope
cd3bf333bf
Use nrepl load-file for :[range]Eval
...
Closes #83 .
2013-12-30 14:20:07 -05:00
Tim Pope
2efe294efb
Fix for newer Pythons
2013-04-19 11:41:51 -04:00
Tim Pope
77444275fd
Support Python 2.4
2013-04-17 13:35:47 -04:00
Tim Pope
db27257f7f
Rename foreplay.vim to fireplace.vim
2013-03-13 19:56:13 -04:00
Tim Pope
fa6e35bc19
Remove old vendored classpath.vim
2013-03-13 19:49:03 -04: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
f4e9f1c10a
Use namespaces in critical path
2013-01-16 01:01:09 -05:00
Tim Pope
fd8d623b7b
Catch one line stack traces
...
References #38 .
2013-01-15 20:45:44 -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
6c2e33f715
Fix gilardi scenario
2013-01-07 18:58:01 -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
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
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
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
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
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
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
9161a36da0
Fix ruby namespacing issue with Command-T
...
Closes #6 .
2012-12-07 09:40:33 -05:00
Tim Pope
8ce5fbd119
Explicitly prefer top level VIM module
...
Hopefully resolves #6 .
2012-12-06 18:08:44 -05:00
Tim Pope
17e3eeb2c6
Work around 'wildignore'
...
Closes #5 .
2012-12-05 13:12:39 -05:00
Tim Pope
a5bc4b0b44
nREPL: Throw error on invalid namespace
...
References #2 .
2012-12-04 20:18:55 -05:00
Tim Pope
ff9e3b5cd7
Initial commit
2012-12-04 01:38:17 -05:00