USe electric modes in sh-mode
This commit is contained in:
parent
184ec5d2fc
commit
3311bcd8e0
1 changed files with 2 additions and 0 deletions
|
@ -1147,6 +1147,7 @@
|
||||||
(add-hook 'php-mode-hook #'electric-indent-local-mode)
|
(add-hook 'php-mode-hook #'electric-indent-local-mode)
|
||||||
(add-hook 'ruby-mode-hook #'electric-indent-local-mode)
|
(add-hook 'ruby-mode-hook #'electric-indent-local-mode)
|
||||||
(add-hook 'scss-mode-hook #'electric-indent-local-mode)
|
(add-hook 'scss-mode-hook #'electric-indent-local-mode)
|
||||||
|
(add-hook 'sh-mode-hook #'electric-indent-local-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
*** Switch keys back
|
*** Switch keys back
|
||||||
|
@ -1209,6 +1210,7 @@
|
||||||
(add-hook 'python-mode-hook #'electric-pair-local-mode)
|
(add-hook 'python-mode-hook #'electric-pair-local-mode)
|
||||||
(add-hook 'ruby-mode-hook #'electric-pair-local-mode)
|
(add-hook 'ruby-mode-hook #'electric-pair-local-mode)
|
||||||
(add-hook 'scss-mode-hook #'electric-pair-local-mode)
|
(add-hook 'scss-mode-hook #'electric-pair-local-mode)
|
||||||
|
(add-hook 'sh-mode-hook #'electric-pair-local-mode)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
** Auto completion
|
** Auto completion
|
||||||
|
|
Loading…
Reference in a new issue