From 264ec8fafa45e0f9ed367d7413dd7c4331dda77c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 10 Dec 2024 19:01:04 +0100 Subject: emacs: use JSON mode for .lock files --- user/emacs/init.el | 1 + 1 file changed, 1 insertion(+) (limited to 'user') 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 -- cgit 1.4.1