python: add diminish for importmagic

importmangic does not have a diminish character.
Add diminish characters to make the modeline nice(r).

Signed-off-by: Loys Ollivier <loys.ollivier@gmail.com>
This commit is contained in:
Loys Ollivier 2019-03-14 15:40:41 +01:00 committed by duianto
parent 9e3340b8c3
commit 7667df6319
2 changed files with 2 additions and 0 deletions

View File

@ -1817,6 +1817,7 @@ Other:
Verhovsky)
- Fixed conflict between pipenv directory .venv and pyvenv file .venv (thanks to
rgb-24bit)
- Add diminish for importmagic (thanks to Loys Ollivier)
**** Racket
- Restore smart closing paren behavior in racket-mode (thanks to Don March)
**** Ranger

View File

@ -141,6 +141,7 @@
:init
(progn
(add-hook 'python-mode-hook 'importmagic-mode)
(spacemacs|diminish importmagic-mode "" " [i]")
(spacemacs/set-leader-keys-for-major-mode 'python-mode
"rf" 'importmagic-fix-symbol-at-point))))