Closed conao3 closed 5 years ago
Good, would you like to write a indentation script for helm-swoop? we can add it to git hooks.
Personally I use common-lisp-indent-function
because it can indent cl-flet
to
(cl-flet ((a-simple-function ()
(do-something-here)))
...)
but not
(cl-flet ((a-simple-function ()
(do-something-here)))
ugly!)
If you can add such script will be helpful to keep the code consistency!
Good, but how automatically install git hook when anyone clones this repository?
I know, githook is completely local script. So this issue solve just you place some script in your local repository .git
folder.
You can create a new folder dev/git-hooks
, and put your script into it. And we add some instruction (e.g. CONTRIBUTION.org)
OK. I create it in another PR.
Just do indent-buffer in helm-swoop.el