Skip to content

Commit

Permalink
treat .cjs as js-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxxr committed Nov 4, 2024
1 parent 17a655c commit 89c64fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/js-mode/js-mode.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 89c64fe

Please sign in to comment.