Commit Graph

249 Commits

Author SHA1 Message Date
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
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