[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#59613: 29.0.50; There is no tree-sitter equivalent for c-or-c++-mod
From: |
Yuan Fu |
Subject: |
bug#59613: 29.0.50; There is no tree-sitter equivalent for c-or-c++-mode |
Date: |
Sat, 7 Jan 2023 14:59:21 -0800 |
Yuan Fu <casouri@gmail.com> writes:
> Pankaj Jangid <pankaj@codeisgreat.org> writes:
>
>> For header files the default is c-or-c++-mode. As per the new
>> convention, there should be a c-or-c++-ts-mode for header files.
>
> (push '(c-mode . c-ts-mode) major-mode-remap-alist) doesn’t seem to
> affect header files for some reason. I’ll need to look into it. In the
> meantime, you can use auto-mode-alist to map .h files to c/c++-ts-mode.
>
> Yuan
Sorry for the delay. I added c-or-c++-ts-mode.
Yuan
- bug#59613: 29.0.50; There is no tree-sitter equivalent for c-or-c++-mode,
Yuan Fu <=