emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree-sitter doc question


From: Stefan Kangas
Subject: Re: Tree-sitter doc question
Date: Thu, 8 Dec 2022 08:05:43 -0800

Eli Zaretskii <eliz@gnu.org> writes:

> Change auto-mode-alist in your init file.  For example:
>
>   (setq auto-mode-alist
>       (append
>        '(("\\.[ch]\\'" . c-ts-mode))
>        auto-mode-alist))

a.k.a.

    (add-to-list 'auto-mode-alist ("\\.[ch]\\'" . c-ts-mode))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]