From 49d37f8986c275cef7bc22fd8f87fed4250ae954 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Mon, 21 Aug 2017 01:22:06 +0200 Subject: [PATCH] Add crude python implementation --- custom/setup-coding.el | 7 +++++++ init.el | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/custom/setup-coding.el b/custom/setup-coding.el index ad8d355..87f5cc3 100644 --- a/custom/setup-coding.el +++ b/custom/setup-coding.el @@ -37,4 +37,11 @@ ;; Tab-space strategy (add-hook 'c-mode-hook 'infer-indentation-style) + +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Python ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +(elpy-enable) + (provide 'setup-coding) diff --git a/init.el b/init.el index b7729b7..187b2ca 100644 --- a/init.el +++ b/init.el @@ -27,7 +27,7 @@ '("melpa-stable" . "https://stable.melpa.org/packages/") t) (add-to-list 'package-archives - '("melpa" . "http://melpa.milkbox.net/packages/") t) + '("melpa" . "http://melpa.milkbox.net/packages/") t) ;; MUST be called after package-archives is updated ;; Else the automated installation logic is not able to install missing packages @@ -49,6 +49,7 @@ irony company-irony flycheck-irony + elpy helm helm-gtags helm-swoop @@ -100,7 +101,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages (quote (irony helm-swoop helm)))) + '(package-selected-packages (quote (elpy irony helm-swoop helm)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful.