mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Elixir formats long numbers with an underscore
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user