set to 4 spaces in python
This commit is contained in:
1
init.el
1
init.el
@@ -38,6 +38,7 @@
|
|||||||
(require 'init-flycheck)
|
(require 'init-flycheck)
|
||||||
;; Languages
|
;; Languages
|
||||||
(require 'init-markdown)
|
(require 'init-markdown)
|
||||||
|
(require 'init-python)
|
||||||
(require 'init-pkgbuild)
|
(require 'init-pkgbuild)
|
||||||
(require 'init-php)
|
(require 'init-php)
|
||||||
(require 'init-less)
|
(require 'init-less)
|
||||||
|
|||||||
9
lisp/init-python.el
Normal file
9
lisp/init-python.el
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
;;----------------------------------------------------------------------------
|
||||||
|
;; Python Mode
|
||||||
|
;;----------------------------------------------------------------------------
|
||||||
|
(add-hook 'python-mode-hook
|
||||||
|
(lambda ()
|
||||||
|
(setq indent-tabs-mode nil)
|
||||||
|
(setq python-indent-offset 4)))
|
||||||
|
|
||||||
|
(provide 'init-python)
|
||||||
Reference in New Issue
Block a user