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
2 changed files with 10 additions and 0 deletions

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)