unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincenzo Pupillo <v.pupillo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>, Yuan Fu <casouri@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Define treesit-font-lock-level  as buffer local
Date: Sat, 14 Dec 2024 12:14:02 +0100	[thread overview]
Message-ID: <2528408.XAFRqVoOGU@fedora> (raw)
In-Reply-To: <CE50005F-0C0F-4328-9D07-1EECF6C676C1@gmail.com>

In data domenica 8 dicembre 2024 08:44:25 Ora standard dell’Europa centrale, 
Yuan Fu ha scritto:
> 
> Ok, following the recent discussion, I implemented the original idea, which
> is an alist mapping major modes to font lock levels. The check is made with
> derived-mode-p, so c-mode should work for c-ts-mode too, but I still used
> c-ts-mode in the example in the docstring since I don’t want to complicate
> it. The change is pushed to master.
> 
> Yuan

Thank you Yuan!

Vincenzo





  reply	other threads:[~2024-12-14 11:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 10:30 Define treesit-font-lock-level as buffer local Vincenzo Pupillo
2024-11-07 11:03 ` Eli Zaretskii
2024-11-07 11:08   ` Vincenzo Pupillo
2024-11-09  8:36     ` Yuan Fu
2024-11-09  8:54       ` Eli Zaretskii
2024-11-10  8:04         ` Yuan Fu
2024-11-23 12:20           ` Eli Zaretskii
2024-11-29  5:49             ` Tree-sitter central configuration variable Yuan Fu
2024-11-29  7:12               ` Eshel Yaron
2024-11-29  8:42                 ` Yuan Fu
2024-11-29  8:04               ` Eli Zaretskii
2024-11-29  9:07                 ` Yuan Fu
2024-11-29 12:02                   ` Eli Zaretskii
2024-11-29 17:01               ` Stefan Monnier
2024-11-29 17:22                 ` Ship Mints
2024-12-03  6:40                   ` Yuan Fu
2024-12-03 13:14                     ` Eli Zaretskii
2024-12-07 12:04             ` Define treesit-font-lock-level as buffer local Eli Zaretskii
2024-12-08  7:44               ` Yuan Fu
2024-12-14 11:14                 ` Vincenzo Pupillo [this message]
2024-12-17 11:31                   ` Vincenzo Pupillo
2024-12-17 21:37                     ` Yuan Fu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2528408.XAFRqVoOGU@fedora \
    --to=v.pupillo@gmail.com \
    --cc=casouri@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).