diff options
author | Alan Pearce | 2024-12-10 19:01:04 +0100 |
---|---|---|
committer | Alan Pearce | 2024-12-10 19:01:04 +0100 |
commit | 264ec8fafa45e0f9ed367d7413dd7c4331dda77c (patch) | |
tree | 0d93a8faca5f801128c31617b3ff59f820edb9a6 /user/emacs | |
parent | 2f3f9be24e76a91850b132e77d813d412ff72675 (diff) | |
download | nixfiles-264ec8fafa45e0f9ed367d7413dd7c4331dda77c.tar.lz nixfiles-264ec8fafa45e0f9ed367d7413dd7c4331dda77c.tar.zst nixfiles-264ec8fafa45e0f9ed367d7413dd7c4331dda77c.zip |
emacs: use JSON mode for .lock files
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index 69c71d00..4a4af8dc 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -793,6 +793,7 @@ _C-k_: prev _u_pper _=_: upper/lower _s_mart resolve ;;;; js (setq js-enabled-frameworks '(javascript)) (add-to-list 'auto-mode-alist '("\\.[cm]js\\'" . js-ts-mode)) +(add-to-list 'auto-mode-alist '("\\.lock" . json-ts-mode)) ;;;; typescript |