summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--user/emacs/init.el1
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