Commit Graph

363 Commits

Author SHA1 Message Date
Tim Pope
f456f04b65 Work around bug on ancient Vim
Closes #226.
2015-06-29 17:46:45 -04:00
Tim Pope
09c80c6794 Allow 1cpr to run test under cursor 2015-06-26 09:36:14 -04:00
Tim Pope
459904381b Use :.RunTests to run test under cursor
Closes #223.
2015-06-25 15:34:45 -04:00
Tim Pope
69bf9ef519 Make :0RunTests equivalent to RunAllTests 2015-06-25 15:04:12 -04:00
Tim Pope
1f478e401a Tweak <cfile> 2015-06-25 10:17:58 -04:00
Tim Pope
cb3c270c99 Add cljc extension support to connection process 2015-06-23 15:56:50 -04:00
Tim Pope
7b2ae78bd7 Add <C-R> command line maps 2015-06-21 15:12:39 -04:00
Tim Pope
b0a540c68d Add .cljc extension 2015-06-21 15:08:30 -04:00
Tim Pope
09eedd05af Use jar command if available to query zip files 2015-06-21 15:08:29 -04:00
Tim Pope
89aee9c00c Merge pull request #214 from Deraen/completion-context
Completion context
2015-05-17 11:01:43 -04:00
Juho Teperi
c22e61c69b Add support for context aware completion
If complete operation is given context property containing the
current toplevel form Compliment library can give better completion
results in some contexts:

- Local vars for let and defn
- Resources in classpath for io/resource calls
- Vars in specific ns for :require :refer
- Better Java class name completion for :import

The context string should contain symbol __prefix__ in place of the word
being completed. To achieve this location of cursor inside the toplevel
form is calculated so that the placeholder symbol can be placed in the
proper place.
2015-05-17 17:54:06 +03:00
Roger Gilliar
13a21bff0f Fix count of test errors and failures
Closes #208.
2015-05-17 10:06:21 -04:00
Tim Pope
1646a01b0b Merge pull request #211 from Deraen/all-candidate-types
Add all candidate types to short_types map
2015-05-16 16:17:59 -04:00
Juho Teperi
aede23c46a Add all candidate types to short_types map 2015-05-16 23:01:23 +03:00
Tim Pope
819438bdf4 Merge pull request #210 from Deraen/cider-nrepl-0.9.0
Cider nrepl 0.9.0 completion support
2015-05-15 16:19:55 -04:00
Juho Teperi
9ccaea1f2b Request extra-metadata for completion candidates
In cider-nrepl 0.9.0 there is new extra-metadata option for complete op
[1]. It can be used to enrich the candiate results with additional
properties like arglists and docstring.

This commit adds extra-metadata option to complete call and changes the
candidate function to set fields in omnicomplete result so that arglists
are shown on omnicomplete menu and docstring is shown in preview window.

[1]: https://github.com/clojure-emacs/cider-nrepl/pull/195/files
2015-05-15 22:54:08 +03:00
Juho Teperi
44e766d5a5 Add support for Cider-nrepl 0.9.0 complete op
Response from complete operation now returns list of maps containing
e.g. namespace and type of the completion candidate.
This change adds a new type check to check if complete returned list of
maps and converts those maps to format required by omnicomplete.
In addition to candidate name its type is now shown. The type is
shortned to one character.
2015-05-15 22:31:54 +03:00
Tim Pope
49153a39fc Merge pull request #201 from kul/master
Remove `:repl-env` for latest piggieback compatibility.
2015-04-13 16:27:49 -04:00
kul
0aabcdd798 Remove :repl-env for latest piggieback compatibility. 2015-03-31 20:52:10 +05:30
Joshua Davey
5866d0017a Add support for boot 2.0 and up
Boot's built-in repl task adds a fake.class.path System property which
refers back to the original user files (as opposed to the temporary
files it uses to actually do builds). We should prefer that to anything
else when the property is set.

Fixes #194.
2015-02-15 13:45:21 -05:00
Robert Pitts
7cebf6847e Document cqq 2015-02-10 15:27:43 -05:00
Tim Pope
71e44af208 Fix c1mm 2015-02-10 11:11:53 -05:00
Tim Pope
b999b09cd9 Fix project directory path for autoconnection
Closes #189.
2014-12-20 01:27:23 -05:00
Tim Pope
506cf288bd Skip regexp when selecting form for cpp
Closes #188.
2014-12-11 11:31:23 -05:00
Tim Pope
0ecd9ec587 Fix duplicate namespaces in completion 2014-11-30 00:53:32 -05:00
Tim Pope
874505e9f2 Support new return value of completions operator 2014-11-30 00:46:33 -05:00
Tim Pope
04ce1b64af Support new return value of classpath operator 2014-11-30 00:36:33 -05:00
Tim Pope
db2e70ee3f Cider info op no longer embeds in value attribute
Closes #186.
2014-11-19 00:49:58 -05:00
Tim Pope
8f7a07cffd Allow forcing default ns 2014-10-23 15:52:50 -04:00
Tim Pope
97758acc16 Fix sending interrupt commands after SIGINT
Via @benmoss.  Closes #182.
2014-10-21 15:29:31 -04:00
Tim Pope
eeccb69a2f Fix typo 2014-10-21 15:14:38 -04:00
Tim Pope
c0e574387d Fix completion in aliased namespaces 2014-10-10 02:40:10 -04:00
Tim Pope
fccb149148 Recognize nested classes in K
Closes #176.
2014-09-05 13:10:21 -04:00
Tim Pope
c1416c89ba Don't choke on missing API version
Closes #175.
2014-09-02 12:26:13 -04:00
Tim Pope
b256399f3f Merge pull request #169 from oahner/fix-portfile-issue
Register port file after connecting to port
2014-07-31 10:34:32 -04:00
Jonathan Henry
142fab4e0f Register port file after connecting to port 2014-07-31 00:57:15 -04:00
Tim Pope
06f6bc5de6 Evaluate single expression when running tests
This eliminates an extra "nil" value in the response.
2014-07-12 23:17:30 -04:00
Tim Pope
d6b3e1c67c Silence all callback errors
If this is to be made asynchronous, there's not really a good way to
display the exception.
2014-07-10 22:58:35 -04:00
Tim Pope
ebb2933f4c Pass additional .message arguments to callback 2014-07-10 22:43:03 -04:00
Tim Pope
3e978e4cd4 Add better name for fireplace#evalparse() 2014-07-04 17:14:10 -04:00
Tim Pope
a39092ebe3 Add script id 2014-07-04 17:00:21 -04:00
Tim Pope
835fdedf5f fireplace.vim 1.0 2014-07-04 16:50:18 -04:00
Tim Pope
e107b2ae17 Drop reference to old name 2014-07-04 16:32:52 -04:00
Tim Pope
1dc5129c0e Tweak description 2014-07-04 16:24:46 -04:00
Tim Pope
712205e66a Normalize headers 2014-07-04 16:06:43 -04:00
Tim Pope
ffc41e86f3 Remove obsolete Maven reference 2014-07-04 15:38:00 -04:00
Tim Pope
37e3a474c5 Clarify plugin/fireplace/zip.vim 2014-07-04 15:04:44 -04:00
Tim Pope
1f36136346 Zip hack unnecessary on Vim 7.4 2014-07-03 14:49:18 -04:00
Tim Pope
ea15c81773 Remove extracted compiler plugin 2014-07-03 14:45:11 -04:00
Tim Pope
25e18b5f82 Support gf on relative (load) paths
This doesn't do a file existence check because that's tricky with jar
files in the mix.  Instead, it's limited to strings, so a gf on a random
symbol doesn't send us flying.
2014-07-03 12:30:32 -04:00