Improve tab's behavior
It now does both indentation and completion (when supported)
This commit is contained in:
parent
fea2c44cbd
commit
d54d3956fd
1 changed files with 3 additions and 0 deletions
|
@ -101,6 +101,9 @@ Will only occur if prelude-whitespace is also enabled."
|
||||||
try-complete-lisp-symbol-partially
|
try-complete-lisp-symbol-partially
|
||||||
try-complete-lisp-symbol))
|
try-complete-lisp-symbol))
|
||||||
|
|
||||||
|
;; smart tab behavior - indent or complete
|
||||||
|
(setq tab-always-indent 'complete)
|
||||||
|
|
||||||
;; smart pairing for all
|
;; smart pairing for all
|
||||||
(require 'smartparens-config)
|
(require 'smartparens-config)
|
||||||
(setq sp-base-key-bindings 'paredit)
|
(setq sp-base-key-bindings 'paredit)
|
||||||
|
|
Loading…
Reference in a new issue