emacs-devel
[Top][All Lists]
Advanced

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

Re: Tree-sitter doc question


From: Eli Zaretskii
Subject: Re: Tree-sitter doc question
Date: Thu, 08 Dec 2022 17:44:08 +0200

> From: Felix <felix.dick@web.de>
> Date: Thu, 08 Dec 2022 16:08:39 +0100
> 
> What would be the recommended way to enable the *-ts-mode for a certain
> language?

Change auto-mode-alist in your init file.  For example:

  (setq auto-mode-alist
        (append
         '(("\\.[ch]\\'" . c-ts-mode))
         auto-mode-alist))



reply via email to

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