Added ignore, turn subword mode on for python mode.
This commit is contained in:
parent
4d461eebbd
commit
825dca7919
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,4 +3,5 @@ auto-save-list
|
|||||||
eproject.lst
|
eproject.lst
|
||||||
*.elc
|
*.elc
|
||||||
.smex-items
|
.smex-items
|
||||||
places
|
places
|
||||||
|
backups
|
5
init.el
5
init.el
@ -100,7 +100,10 @@
|
|||||||
(setq tab-width 4
|
(setq tab-width 4
|
||||||
indent-tabs-mode t
|
indent-tabs-mode t
|
||||||
python-indent-offset 4))
|
python-indent-offset 4))
|
||||||
(python-tabs)
|
|
||||||
|
;; Yelp always uses tabs.
|
||||||
|
(add-hook 'python-mode-hook 'python-tabs)
|
||||||
|
(add-hook 'python-mode-hook 'subword-mode)
|
||||||
|
|
||||||
;; Yelp always uses tabs.
|
;; Yelp always uses tabs.
|
||||||
(add-hook 'python-mode-hook 'python-tabs)
|
(add-hook 'python-mode-hook 'python-tabs)
|
||||||
|
Loading…
Reference in New Issue
Block a user