From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Noah Peart Newsgroups: gmane.emacs.bugs Subject: bug#71209: [PATCH] Add font-locking for variables in go-ts-mode range clauses Date: Fri, 31 May 2024 18:56:00 -0700 Message-ID: References: <269722b9-1dcd-47e5-8f60-e8a2ff273259@gutov.dev> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000908a840619ca6758" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37246"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71209@debbugs.gnu.org, Randy Taylor To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 01 03:58:10 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sDE0Y-0009U2-27 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jun 2024 03:58:10 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sDE0G-0001ma-JF; Fri, 31 May 2024 21:57:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sDE0F-0001mQ-HA for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:57:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sDE0F-0000Zg-6F for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:57:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sDE0Q-00087r-HE for bug-gnu-emacs@gnu.org; Fri, 31 May 2024 21:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noah Peart Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jun 2024 01:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71209 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 71209-submit@debbugs.gnu.org id=B71209.171720705031193 (code B ref 71209); Sat, 01 Jun 2024 01:58:02 +0000 Original-Received: (at 71209) by debbugs.gnu.org; 1 Jun 2024 01:57:30 +0000 Original-Received: from localhost ([127.0.0.1]:55533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDDzu-000873-Hh for submit@debbugs.gnu.org; Fri, 31 May 2024 21:57:30 -0400 Original-Received: from mail-oa1-f52.google.com ([209.85.160.52]:58814) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sDDzs-00086q-UT for 71209@debbugs.gnu.org; Fri, 31 May 2024 21:57:29 -0400 Original-Received: by mail-oa1-f52.google.com with SMTP id 586e51a60fabf-250ac3acc6cso113796fac.1 for <71209@debbugs.gnu.org>; Fri, 31 May 2024 18:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717206972; x=1717811772; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=hrmSnM9+gbSJinA5yFdg5SxwHGH3zSmYHn3Zxj9zRUU=; b=MMoc9gXv4tPAGAgRvrQDGdd04zl45yxoeUmjF5KoYsyRqBGxLJQJc8eHKuPW87R6Bq UNarZNBH2umytZ5NiBxJYzoa12gZio2j/vq3VLs8BJKJdnlUvFZLXpVSS6FCwADvBvEu zqtpjs9eUL63mmfSAkmzE1M3fwTwbaBCd81HlEXmxjhkGmtsjQJCo3z5kDRp1W4ZL7VN CgfAFcviN3qiWTv2ZSOgbv418+++CgFmkzpQG0eiyga2NugIHJBeRKqqli5HijhGrx/I a1RhYUXh93JT+IL1w630auyvHBLF0nGwB4acVVpyOE0gWsjCKal0JPXCsfOqjabnpNp6 qo1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717206972; x=1717811772; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hrmSnM9+gbSJinA5yFdg5SxwHGH3zSmYHn3Zxj9zRUU=; b=UoutkPRKH43vlRi6W00LvAEuXrqbcoVkX4At7fGTDaxFLTD9KpLCh0ydB7LqHhjKNh N2RMlkA6hy8skrH8U6/LOcPJKx/7fh0uyHlcWCRwUTtJDh31iTjU0rsjNtxdj4OO4WbZ IVx7+6GY3F7jUbrna6JqIXbK6YXrKDVFX4uEQASI1yNH9egW0Z6gUepUOcue9u/zYjRR x6whRNRNBvv5X0v/ZaLVoNdvGfHqMtbu/B9hpWgy9f6ZvZHA5Bj1KU7jrBd8y0AhGZoo /QYg5KMfpJFcFi9B3cxwYDMMCkePQzIbT+xQILr/8ToerC9PzbEUjzsg1vHLmpcLTI2D EtGg== X-Forwarded-Encrypted: i=1; AJvYcCWJZnIMR5ln2+ZAf6s1biHLxUrWI7MyZFcp9Nn5tinjKpljiv95f/vw9HTk+USgcywxKWTsI7ai5/ZycpBn+iHGkNJi7uQ= X-Gm-Message-State: AOJu0Ywx5WJSrikM6yJnbWK6TmcVhwdO9uy+KoDWvoTVboX19OuWff0I KtCZvRzhds/rCQrSkk0MOnoLM/j6LjNuOpaIYXNPBu1jkH/CSkmBMrrzKKuvE/D/9yQuop0jjuw 6qKwT7/igPtKR9M5zADaKCjnWCEE= X-Google-Smtp-Source: AGHT+IE/1WbN8RWND7wsrx+w/L5DCSUL+OT545zcVTVzXfZzcWUXzPGUvgJx2Diw0zxpYuPiE9Aaf7+9q5xvV3HVKbs= X-Received: by 2002:a05:6870:2006:b0:24f:f2c5:69ae with SMTP id 586e51a60fabf-2508b7e2a2bmr4782882fac.16.1717206971876; Fri, 31 May 2024 18:56:11 -0700 (PDT) In-Reply-To: <269722b9-1dcd-47e5-8f60-e8a2ff273259@gutov.dev> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:286310 Archived-At: --000000000000908a840619ca6758 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > Only if you set treesit-font-lock-level to 4, right? Yea, that's true - I assumed most people(?) do, but I just realized I hadn't been doing that for years until tree-sitter - and now I've become obsessive compulsive about my fonts. On Fri, May 31, 2024 at 6:51=E2=80=AFPM Dmitry Gutov wro= te: > On 01/06/2024 04:42, Noah Peart wrote: > > I suppose most people keep the default font-locking for variable-name > > and variable-use, so these missing rules go unnoticed. > > Only if you set treesit-font-lock-level to 4, right? > --000000000000908a840619ca6758 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> Only if you set treesit-font-lock-level to 4, right?<= div class=3D"gmail-yj6qo">

Yea, that's true - I assumed m= ost people(?) do, but I just realized
I hadn't been doing tha= t for years until tree-sitter - and now I've
become obsessive= compulsive about my fonts.

On Fri, May 31, 2024 at 6:51=E2=80=AFPM Dm= itry Gutov <dmitry@gutov.dev>= wrote:
On 01/06= /2024 04:42, Noah Peart wrote:
> I suppose most people keep the default font-locking for variable-name<= br> > and variable-use, so these missing rules go unnoticed.

Only if you set treesit-font-lock-level to 4, right?
--000000000000908a840619ca6758--