set to 4 spaces in python
This commit is contained in:
parent
91192f6d72
commit
7e8598ebdf
1
init.el
1
init.el
@ -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
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)
|
Loading…
x
Reference in New Issue
Block a user