mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-05-31 01:32:00 -07:00
; * etc/NEWS: Tell how to disable 'markdown-ts-mode'.
This commit is contained in:
parent
142b1e0d4c
commit
f6281d757d
1 changed files with 14 additions and 1 deletions
15
etc/NEWS
15
etc/NEWS
|
|
@ -3931,7 +3931,20 @@ A major mode based on 'conf-mode' for editing ".npmrc" files.
|
||||||
** New major modes based on the tree-sitter library
|
** New major modes based on the tree-sitter library
|
||||||
|
|
||||||
*** New major mode 'markdown-ts-mode'.
|
*** New major mode 'markdown-ts-mode'.
|
||||||
A major mode based on the tree-sitter library for editing Markdown files.
|
A major mode based on the tree-sitter library for editing Markdown
|
||||||
|
files. This is now the default major mode for Markdown files. If you
|
||||||
|
don't have the necessary tree-sitter grammar libraries installed, or if
|
||||||
|
your Emacs was built without tree-sitter support, Emacs will now show a
|
||||||
|
warning to that effect when you visit a Markdown file. If you don't
|
||||||
|
want to use this mode and want to avoid these warnings, add the
|
||||||
|
following to your init file:
|
||||||
|
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.md\\'" . fundamental-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . fundamental-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.mdx\\'" . fundamental-mode))
|
||||||
|
|
||||||
|
This will cause Emacs to visit Markdown files in Fundamental mode, which
|
||||||
|
was the default before this mode was added to Emacs.
|
||||||
|
|
||||||
*** New major mode 'mhtml-ts-mode'.
|
*** New major mode 'mhtml-ts-mode'.
|
||||||
An optional major mode based on the tree-sitter library for editing HTML
|
An optional major mode based on the tree-sitter library for editing HTML
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue