Merge pull request #3613 from jsmestad/elixir-numbers-with-underscore
Support number highlighting for long Elixir numbers
This commit is contained in:
commit
aac73f4c01
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,10 @@
|
||||||
(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
|
||||||
|
"\\_<-?[[:digit:]]+\\(?:_[[:digit:]]\\{3\\}\\)*\\_>"
|
||||||
|
highlight-numbers-modelist))
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;;; Packages
|
;;; Packages
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue