From 89c64fed5d8fb8e2658b4e19e99c0b6d8d366720 Mon Sep 17 00:00:00 2001 From: cxxxr Date: Mon, 4 Nov 2024 19:08:25 +0900 Subject: [PATCH] treat .cjs as js-mode --- extensions/js-mode/js-mode.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/js-mode/js-mode.lisp b/extensions/js-mode/js-mode.lisp index d1028f6d7..6ca8bbfe0 100644 --- a/extensions/js-mode/js-mode.lisp +++ b/extensions/js-mode/js-mode.lisp @@ -237,4 +237,4 @@ https://developer.mozilla.org/ja/docs/Web/JavaScript/Reference/Lexical_grammar *prettier-options* (list (buffer-filename buf))))) -(define-file-type ("js" "jsx" "mjs") js-mode) +(define-file-type ("js" "jsx" "mjs" "cjs") js-mode)