Bläddra i källkod

Add pipenv config

master
10sr 6 år sedan
förälder
incheckning
974b2b30bc
Signerad av: 10sr GPG-nyckel ID: 7BEC428194130EB2
1 ändrade filer med 9 tillägg och 1 borttagningar
  1. +9
    -1
      emacs.el

+ 9
- 1
emacs.el Visa fil

@@ -210,7 +210,8 @@ found, otherwise returns nil."
(message "Invocation directory: %s" default-directory)
(message "%s was taken to initialize emacs." (emacs-init-time))
(view-echo-area-messages)
(view-emacs-news)))
;; (view-emacs-news)
))

(cd ".") ; when using windows use / instead of \ in `default-directory'

@@ -813,6 +814,13 @@ found, otherwise returns nil."
(defvar python-mode-map (make-sparse-keymap))
(define-key python-mode-map (kbd "C-m") 'newline-and-indent))

(when (autoload-eval-lazily 'pipenv)
(add-hook 'python-mode-hook
(lambda ()
(pipenv-mode 1)
(pipenv-projectile-after-switch-default)))
)

;; http://fukuyama.co/foreign-regexp
'(and (safe-require-or-eval 'foreign-regexp)
(progn


Laddar…
Avbryt
Spara