mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-21 13:53:38 -05:00
refactor: use true eos regex in auto-mode-alist entries
"\\'" will match the true end-of-string, whereas "$" will also match just before a newline character. Not that there's much risk that there'll be newlines in a filepath, but I'd rather be consistent. It also makes these entries easier for users to remove from auto-mode-alist.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
|
||||
(use-package! jinja2-mode
|
||||
:mode "\\.j2$"
|
||||
:mode "\\.j2\\'"
|
||||
:config
|
||||
;; The default behavior is to reindent the whole buffer on save. This is
|
||||
;; disruptive and imposing. There are indentation commands available; the user
|
||||
|
Reference in New Issue
Block a user