Minor refactors & revision across the board

This commit is contained in:
Henrik Lissner 2020-07-31 01:39:24 -04:00
parent a54d2b3804
commit 6a64f37435
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
11 changed files with 48 additions and 35 deletions

View file

@ -3,10 +3,6 @@
(after! projectile
(add-to-list 'projectile-project-root-files "mix.exs"))
(after! highlight-numbers
(puthash 'elixir-mode
"\\_<-?[[:digit:]]+\\(?:_[[:digit:]]\\{3\\}\\)*\\_>"
highlight-numbers-modelist))
;;
;;; Packages
@ -41,7 +37,12 @@
(sp-local-pair "fn " " end" :unless '(sp-in-comment-p sp-in-string-p)))
(when (featurep! +lsp)
(add-hook 'elixir-mode-local-vars-hook #'lsp!)))
(add-hook 'elixir-mode-local-vars-hook #'lsp!))
(after! highlight-numbers
(puthash 'elixir-mode
"\\_<-?[[:digit:]]+\\(?:_[[:digit:]]\\{3\\}\\)*\\_>"
highlight-numbers-modelist)))
(use-package! flycheck-credo