Add crude python implementation
This commit is contained in:
parent
ee13cbc2ec
commit
49d37f8986
2 changed files with 10 additions and 2 deletions
|
|
@ -37,4 +37,11 @@
|
||||||
;; Tab-space strategy
|
;; Tab-space strategy
|
||||||
(add-hook 'c-mode-hook 'infer-indentation-style)
|
(add-hook 'c-mode-hook 'infer-indentation-style)
|
||||||
|
|
||||||
|
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
;; Python ;;
|
||||||
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
|
(elpy-enable)
|
||||||
|
|
||||||
(provide 'setup-coding)
|
(provide 'setup-coding)
|
||||||
|
|
|
||||||
5
init.el
5
init.el
|
|
@ -27,7 +27,7 @@
|
||||||
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
|
||||||
|
|
||||||
(add-to-list 'package-archives
|
(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
|
;; MUST be called after package-archives is updated
|
||||||
;; Else the automated installation logic is not able to install missing packages
|
;; Else the automated installation logic is not able to install missing packages
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
irony
|
irony
|
||||||
company-irony
|
company-irony
|
||||||
flycheck-irony
|
flycheck-irony
|
||||||
|
elpy
|
||||||
helm
|
helm
|
||||||
helm-gtags
|
helm-gtags
|
||||||
helm-swoop
|
helm-swoop
|
||||||
|
|
@ -100,7 +101,7 @@
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; 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
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue