diff --git a/core/core-popup.el b/core/core-popup.el index 55755e4f0..512d0a242 100644 --- a/core/core-popup.el +++ b/core/core-popup.el @@ -22,6 +22,7 @@ (" *NeoTree*" :align left :select t) ("*evil-registers*" :align below :size 0.3) ("*quickrun*" :align below :size 10) + ("*nosetests*" :align below :size 15 :noselect t) ("*eval*" :align below :size 12) ("*esup*" :align below :size 30 :noselect t) ("*ert*" :align below :size 20 :noselect t) diff --git a/modules/module-python.el b/modules/module-python.el index bfffb3c3c..f1131d46a 100644 --- a/modules/module-python.el +++ b/modules/module-python.el @@ -59,8 +59,9 @@ (use-package nose :commands nose-mode :preface (defvar nose-mode-map (make-sparse-keymap)) - :init (associate! nose-mode :match "/test_.+\\.py\\'") + :init (associate! nose-mode :match "/test_.+\\.py$" :in (python-mode)) :config + (add-yas-minor-mode! 'nose-mode) (map! :map nose-mode-map (:localleader :n "tr" 'nosetests-again