2015-01-30 15:30:10 +00:00
|
|
|
;;; packages.el --- Python Layer packages File for Spacemacs
|
|
|
|
;;
|
|
|
|
;; Copyright (c) 2012-2014 Sylvain Benner
|
|
|
|
;; Copyright (c) 2014-2015 Sylvain Benner & Contributors
|
|
|
|
;;
|
|
|
|
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
|
|
|
;; URL: https://github.com/syl20bnr/spacemacs
|
|
|
|
;;
|
|
|
|
;; This file is not part of GNU Emacs.
|
|
|
|
;;
|
|
|
|
;;; License: GPLv3
|
|
|
|
|
2015-04-01 02:24:01 +00:00
|
|
|
;; variables
|
|
|
|
|
2015-04-09 03:57:22 +00:00
|
|
|
(spacemacs|defvar-company-backends python-mode)
|
|
|
|
|
2015-04-22 04:02:23 +00:00
|
|
|
(defvar python-enable-yapf-format-on-save nil
|
|
|
|
"If non-nil, automatically format code with YAPF on save.")
|
|
|
|
|
2015-01-30 15:30:10 +00:00
|
|
|
;; Command prefixes
|
|
|
|
|
2015-02-13 03:08:07 +00:00
|
|
|
;; not supported for now
|
|
|
|
;; (setq python/key-binding-prefixes
|
|
|
|
;; '(; django/pony-mode
|
|
|
|
;; ("mj" . "django")
|
|
|
|
;; ("mjr" . "django-runserver")
|
|
|
|
;; ("mji" . "django-shells")
|
|
|
|
;; ("mjs" . "django-south/syncdb")
|
|
|
|
;; ("mjt" . "django-test")
|
|
|
|
;; ("mjf" . "django-files")
|
|
|
|
;; ("mja" . "django-fabric")
|
|
|
|
;; ; pyenv/pyenv-mode
|
|
|
|
;; ("mp" . "pyenv")))
|
|
|
|
;; (mapc (lambda (x) (spacemacs/declare-prefix (car x) (cdr x)))
|
|
|
|
;; python/key-binding-prefixes)
|