Add format-all-the-code
This commit is contained in:
parent
fc8e4f559b
commit
0aa1ce1a10
@ -4755,3 +4755,12 @@ Add the ability to jump to a particular line number in find-file-at-point. "Borr
|
|||||||
(goto-line ffap-file-at-point-line-number)
|
(goto-line ffap-file-at-point-line-number)
|
||||||
(setq ffap-file-at-point-line-number nil)))
|
(setq ffap-file-at-point-line-number nil)))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
* Format-all-the-code
|
||||||
|
A package that bundles together common code beautifying tools for many languages (the actual formatting tools still need to be installed separately):
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package format-all
|
||||||
|
:commands (format-all-buffer)
|
||||||
|
:init
|
||||||
|
(leader-def-key "cf" 'format-all-buffer))
|
||||||
|
#+END_SRC
|
||||||
|
Loading…
Reference in New Issue
Block a user