[elixir] Update fn names - update to new names and remove extinct fns

This commit is contained in:
Swaroop C H 2017-04-14 11:59:47 -07:00 committed by syl20bnr
parent fed4a44189
commit c376b3c98b
4 changed files with 14 additions and 10 deletions

View File

@ -180,8 +180,11 @@ You find and overview of all the key-bindings on the [[file:alchemist-refcard.pd
| ~SPC m g t~ | Open the test file for current buffer |
| ~SPC m t a~ | Run all the tests |
| ~SPC m t b~ | Run all the tests from current buffer |
| ~SPC m t f~ | Test this file |
| ~SPC m t r~ | Rerun the last test |
| ~SPC m t t~ | Run test under point |
| ~SPC m t n~ | Jump to next test |
| ~SPC m t p~ | Jump to previous test |
** Compile

View File

@ -60,11 +60,13 @@
\group{Mix}
\key{SPC m m :}{alchemist-mix}
\key{SPC m t a}{alchemist-mix-test}
\key{SPC m m c}{alchemist-mix-compile}
\key{SPC m t f}{alchemist-mix-test-file}
\key{SPC m t a}{alchemist-mix-test}
\key{SPC m t b}{alchemist-mix-test-this-buffer}
\key{SPC m t t}{alchemist-mix-test-at-point}
\key{SPC m t f}{alchemist-mix-test-file}
\key{SPC m t n}{alchemist-test-mode-jump-to-next-test}
\key{SPC m t p}{alchemist-test-mode-jump-to-previous-test}
\group{Compilation}
@ -93,7 +95,7 @@
\key{SPC m h :}{alchemist-help}
\key{SPC m h H}{alchemist-help-history}
\key{SPC m h h}{alchemist-help-search-at-point}
\key{SPC m h r}{alchemist-help-search-marked-region}
\key{SPC m h r}{alchemist-help--search-marked-region}
\group{Project}

View File

@ -9,7 +9,7 @@
;;
;;; License: GPLv3
(defun spacemas//elixir-looking-back-special-p (expr)
(defun spacemacs//elixir-looking-back-special-p (expr)
(save-excursion
(when (or (looking-back " ")
(looking-back "-")) (backward-char))
@ -22,7 +22,7 @@
(defun spacemacs//elixir-do-end-close-action (id action context)
(when (eq action 'insert)
(cond ((spacemas//elixir-looking-back-special-p id)
(cond ((spacemacs//elixir-looking-back-special-p id)
(insert " ") (backward-char))
((looking-back "(")
(insert ") ") (backward-char) (backward-char))

View File

@ -72,12 +72,11 @@
"h:" 'alchemist-help
"hH" 'alchemist-help-history
"hh" 'alchemist-help-search-at-point
"hr" 'alchemist-help-search-marked-region
"hr" 'alchemist-help--search-marked-region
"m:" 'alchemist-mix
"mc" 'alchemist-mix-compile
"mx" 'alchemist-mix-run
"mh" 'alchemist-mix-help
"'" 'alchemist-iex-run
"sc" 'alchemist-iex-compile-this-buffer
@ -92,9 +91,9 @@
"ta" 'alchemist-mix-test
"tb" 'alchemist-mix-test-this-buffer
"tt" 'alchemist-mix-test-at-point
"tf" 'alchemist-test-file
"tn" 'alchemist-test-jump-to-next-test
"tp" 'alchemist-test-jump-to-previous-test
"tf" 'alchemist-mix-test-file
"tn" 'alchemist-test-mode-jump-to-next-test
"tp" 'alchemist-test-mode-jump-to-previous-test
"tr" 'alchemist-mix-rerun-last-test
"xb" 'alchemist-execute-this-buffer