Elixir formats long numbers with an underscore

This commit is contained in:
Justin Smestad 2020-07-22 10:10:05 -06:00
parent 13f9f1a32a
commit 03add77b75
No known key found for this signature in database
GPG key ID: 1CAE895F6E08EA26

View file

@ -3,6 +3,14 @@
(after! projectile (after! projectile
(add-to-list 'projectile-project-root-files "mix.exs")) (add-to-list 'projectile-project-root-files "mix.exs"))
(after! highlight-numbers
(puthash 'elixir-mode
(rx (and symbol-start
(? "-")
(+ digit)
(0+ (and "_" (= 3 digit)))
symbol-end))
highlight-numbers-modelist))
;; ;;
;;; Packages ;;; Packages