use "\\'" instead of "$" in auto-mode-alist
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -24,7 +24,7 @@
|
||||
|
||||
|
||||
(autoload 'lua-mode "lua-mode" "" t)
|
||||
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.lua\\'" . lua-mode))
|
||||
(add-to-list 'interpreter-mode-alist '("lua" . lua-mode))
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -13,7 +13,7 @@
|
||||
(file-name-concat
|
||||
(file-name-directory (or load-file-name buffer-file-name))
|
||||
"../tree-sitter-langs/tree-sitter-prisma"))))
|
||||
(add-to-list 'auto-mode-alist '("\\.prisma$" . prisma-ts-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.prisma\\'" . prisma-ts-mode))
|
||||
|
||||
;; language server is `@prisma/language-server', install it by npm/pnpm/yarn.
|
||||
(with-eval-after-load 'eglot
|
||||
|
||||
Reference in new issue
Block a user