set to 4 spaces in python

This commit is contained in:
Jesús 2018-08-09 18:02:25 -05:00
parent 91192f6d72
commit 7e8598ebdf
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 10 additions and 0 deletions

View File

@ -38,6 +38,7 @@
(require 'init-flycheck)
;; Languages
(require 'init-markdown)
(require 'init-python)
(require 'init-pkgbuild)
(require 'init-php)
(require 'init-less)

9
lisp/init-python.el Normal file
View 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)