Commit Graph

17 Commits

Author SHA1 Message Date
Marc
b3cc80126a Remove unused var in racer support 2018-03-18 10:46:46 +00:00
Marc
484164580e CARGO_HOME to identify racer dependencies 2018-03-17 20:27:11 +00:00
Marc
ee7cab82b4 Make racer support scripts more POSIX compliant 2018-03-16 12:25:17 +00:00
Marc
898dfea8a1 racer-go-definition forces readonly on files external to the project 2018-03-15 20:37:27 +00:00
Marc
2bf8941d99 Clean racer support functions 2018-03-14 15:56:25 +00:00
Marc
2f41fdb683 Tweak the bash code on the racer support 2018-03-13 13:52:09 +00:00
Marc
67ce6946d2 Add jumpToDefinition and showDoc support for rust (with racer) 2018-03-12 12:47:47 +00:00
Marc
2ef1ac0b3b Fix racer complation on Mac 2018-03-04 20:14:53 +00:00
Marc
f6a3fd2e4e Unify racer code completion format
Makes all the suggestions on the completion menu have the same format:
  {type}{suggestedWord}{extra description}

the type column is aligned to 6 characters wide (and aligned to the right),
to allow the suggestion to be easily visually detectable and, as a bonus,
the type too.

For example, a bit of menu would look like this:
        fn stdout() -> Stdout
     trait BufRead: Read
    struct BufReader<R>

Type is one of the following:
  -     fn
  -   enum
  -    mod
  -  trait
  - struct

It also trims the module extra bits to only 30 characters long (it can be a lot longer than that)
2018-02-26 13:07:41 +00:00
Marc
d79e680e71 Remove trailing ':' from racer execution
When AWK processes the racer response, it adds a trailing ':' that
kakoune completion expects to lead to a row having an 'a|b|c' shape,
but it's empty instead. Removing the extra ':' allows the racer
complation to actually work.
2018-02-26 12:24:12 +00:00
Frank LENORMAND
9127ed0d55 src rc: Rename exec/eval into execute-keys/evaluate-commands 2017-11-03 11:09:45 +03:00
Frank LENORMAND
c9b280b712 rc: Don't use command aliases to highlight keywords properly 2017-11-03 10:34:41 +03:00
Frank LENORMAND
cb9a2e562b rc: Fix calls to mktemp
The GNU and BSD implementations differ on several points, this commit
hopefully finds a middle ground.
2017-06-16 11:51:46 +03:00
Frank LENORMAND
813d09a101 rc: Fix calls to mktemp
Allow `mktemp` to make use of the `TMPDIR` environment variable when
calling it with a template.

Don't use the deprecated `-t` flag.
2017-06-09 14:30:54 +03:00
Martin Chaine
b5a9979bfb also handle enums explicitly 2017-03-07 09:55:22 +01:00
Martin Chaine
b5f6a9b227 escape pipe from closure in the description 2017-03-06 22:30:59 +01:00
Martin Chaine
d232064a0b add racer completion for rust 2017-03-01 13:11:35 +01:00