Add set-line-120 function and racer package

Fix align-to-colon function
This commit is contained in:
Maciej Szlosarczyk 2017-04-25 08:59:26 +03:00
parent 6abb0536b7
commit c2d105ae65
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
5 changed files with 43 additions and 10 deletions

View file

@ -8,7 +8,8 @@
)
(defun align-to-colon (begin end)
"Align region from BEGIN to END according to colon signs."
(align-regexp begin end
(rx ":" (group (zero-or-mode (syntax-white))))))
"Align region from BEGIN to END according to colon signs."
(interactive "r")
(align-regexp begin end
(rx ":" (group (zero-or-more (syntax whitespace))) ) 1 1))
;;; functions.el ends here