Commit Graph

269 Commits

Author SHA1 Message Date
Tim Pope
7d500028e6 Rearrange 2015-09-28 18:02:10 -04:00
Juho Teperi
df563ed15f Fix alias edge case detection in cfile 2015-09-28 15:00:06 -04:00
Tim Pope
04a7f542f5 Improve error on piggieback failure
References #167.
2015-09-22 14:29:07 -04:00
Janko Marohnić
9a770d3716 Fix a runtime error in :RunTests 2015-08-24 11:54:05 +02:00
Nicolas Berger
b50e74f342 Run test under cursor with fixtures applied
Use `test-vars` instead of `test-var` so the test runs with the fixtures
applied. That's the expected behavior when running a test. It's also
what's being done when multiple tests are matched.
2015-07-31 14:53:12 -03:00
Tim Pope
9f7b1844cf Merge pull request #229 from kul/master
Remove superfluous padding from expression
2015-07-18 12:51:18 -04:00
kul
74d392339c Remove superfluous padding from expression 2015-07-18 12:23:31 +05:30
Tim Pope
a1571cd258 fireplace.vim 1.1
* Support cider completion, including context aware completion.
* Updates for latest cider-nrepl and piggieback.
* Use :.RunTests or 1cpr to run test under cursor.
* Add CTRL-R CTRL-F and CTRL-R CTRL-P command line maps.
* Add support for boot's fake class path.
* Fix handling of CTRL-C interrupt while evaling.
* Numerous minor bug fixes.
2015-06-30 18:34:36 -04:00
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
Juho Teperi
aede23c46a Add all candidate types to short_types map 2015-05-16 23:01:23 +03: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
kul
0aabcdd798 Remove :repl-env for latest piggieback compatibility. 2015-03-31 20:52:10 +05:30
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
db2e70ee3f Cider info op no longer embeds in value attribute
Closes #186.
2014-11-19 00:49:58 -05: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
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
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
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
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
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
Tim Pope
a14328c1dc Allow disabling all maps 2014-07-03 12:28:23 -04:00
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