From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#73369: 31.0.50; csharp-ts-mode does not have any syntax highlighting apart Date: Fri, 20 Sep 2024 01:25:31 -0700 Message-ID: <45CA5DBE-D868-4499-8CC8-6428CC7FD6F6@gmail.com> References: <0c2b01db0aca$c50ebab0$4f2c3010$@sonictk.com> <861q1e97tr.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: multipart/mixed; boundary="Apple-Mail=_477C2CC2-90DC-431B-BB04-CE87889DB36B" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73369@debbugs.gnu.org, Theodor Thornhill , admin@sonictk.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 20 10:27:59 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 1srYzf-0009O5-Cv for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 20 Sep 2024 10:27:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1srYzR-0007o5-J3; Fri, 20 Sep 2024 04:27:45 -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 1srYzP-0007nf-Vd for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 04:27:43 -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 1srYzP-0007Ay-MG for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 04:27:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:Date:Mime-Version:From:To:Subject; bh=/oJR2oDkF5UkOEwSauQwWt+GEfqwmArQ7vCEu6FPoZk=; b=qINrZvDWPTuQww65NB2vb+iDGwbZfm4SQ/Zex4IOHwcO3DHhiFtW9EBcNJ7RLat++Xmei9BXZzloRQHNL3vKyiHZSI4HJDtxhZ6BxZKAwmEFliXNqLOuEfD1hLMswbnkzvuU/TnhHn8lvmUU1OL1hu+2b/HBEni8S59WWPuSlrKhjsq1lSH2PUsKc/CQuOzCcJfwqu6DDu8rKMHBZFoqUl84sVXUERfxP+g+vloTh2QJB32znjnEXwhGX1KzookF0pNB44jubT1rkNFFSsGeqao/hDGdPbXnX8EFYGTWgv//mJYf2FFhWI0ZSo8jU4uIdQPWBiI7gJrwe81EjBGCgQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1srYzi-0002ls-5w for bug-gnu-emacs@gnu.org; Fri, 20 Sep 2024 04:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 Sep 2024 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73369 X-GNU-PR-Package: emacs Original-Received: via spool by 73369-submit@debbugs.gnu.org id=B73369.172682083210577 (code B ref 73369); Fri, 20 Sep 2024 08:28:02 +0000 Original-Received: (at 73369) by debbugs.gnu.org; 20 Sep 2024 08:27:12 +0000 Original-Received: from localhost ([127.0.0.1]:34003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srYyt-0002kX-KL for submit@debbugs.gnu.org; Fri, 20 Sep 2024 04:27:11 -0400 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:59441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1srYyr-0002kJ-EA for 73369@debbugs.gnu.org; Fri, 20 Sep 2024 04:27:10 -0400 Original-Received: by mail-pf1-f171.google.com with SMTP id d2e1a72fcca58-7191fb54147so1313099b3a.2 for <73369@debbugs.gnu.org>; Fri, 20 Sep 2024 01:26:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726820745; x=1727425545; darn=debbugs.gnu.org; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:from:to:cc:subject:date:message-id:reply-to; bh=/oJR2oDkF5UkOEwSauQwWt+GEfqwmArQ7vCEu6FPoZk=; b=QVE/uTxxGSqhV2AN99dIcMVt8vWJbbbthOxRlrQoWXIuI8bTrAMzHTFwJ7W8tzXSgA o9CmQZBmq+YATWdKXat3M2TqwnpkdEYYpTdsLdMguosqH6qMYGX0yppG/YReRFoAW904 ghKdNAI/KpapHWdRLxEO3tbY66rla8aUqD96JCPMP+p204qukXrfxWkJhYRBFJrjdeu5 W8Qs+mrh70jjYM9sv5qvi7aJ82hanVyIzMS3N3NdIyUNAlP2RToOualEmUG6mIdS7kis 5nYJ4tc1qcUz1fif0slNLWWm8GZk1+9MVWF3aYl2W4n3R0NJ1NqXPJQkp9eekuGw0XOS sytw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726820745; x=1727425545; h=references:to:cc:in-reply-to:date:subject:mime-version:message-id :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/oJR2oDkF5UkOEwSauQwWt+GEfqwmArQ7vCEu6FPoZk=; b=ftDN2DAqe8RWAiFAYdEf7Y0UylnjlBQJWWParqIqOjXAZ7xSMzO0Ay/f/KWL6lidKp 6JwG6HxxAJUCjnUOKCUerHg0+OtYesj1pCCSUpw6ZoNSFA/6Z4jOVXFCQ4qQMTjY7a8z 8goWBD9hBbMyRpUIE+b8oFoMgE6aBj/JmkUWZUmBjxgsoktXkNfzNYAXpOTk8U0HKgRM z55V/BiJyURLrneHVGVUn/cxYD9AXDAV+5zAMSRiLBXkN5jxHJPUu56ucR8hb8vF94PB oKQO+kZjry2ddP3ycIBJQTRYKIpHrwLuDGEL3Z+NYrk6jaR455H69DerhmO/r0i/VSMA SGew== X-Forwarded-Encrypted: i=1; AJvYcCX3tKBmPZqHpCGB6mL8pc6DVdh/7ojXupbs5HPf6UB2v250qRTEAJm1RRd1vLQh8epr+SizJw==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yz6LmJjyXSLXivR0/L8x6o3FnB7rs8qKeGWhEUp31eYaxyf7lRN xSWziLk6jSaxvOzjtL6wmEovqiDjzZrAHup+wjS+lTnjlqzXYleJ X-Google-Smtp-Source: AGHT+IE7OXuNP1RFwDLCwxh6RSwLodpZksOLpnjcjJ2Nzx/gKJ6rqlRBB8Q2BHgJfUx5xzCRpCRxTQ== X-Received: by 2002:a05:6a00:14cc:b0:717:8da8:6ec1 with SMTP id d2e1a72fcca58-7199ce0d4dcmr3160869b3a.17.1726820744569; Fri, 20 Sep 2024 01:25:44 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:b925:297e:910c:4115]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71944b7b181sm9386801b3a.112.2024.09.20.01.25.42 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Sep 2024 01:25:42 -0700 (PDT) In-Reply-To: <861q1e97tr.fsf@gnu.org> X-Mailer: Apple Mail (2.3776.700.51) 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:292092 Archived-At: --Apple-Mail=_477C2CC2-90DC-431B-BB04-CE87889DB36B Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Sep 19, 2024, at 11:07=E2=80=AFPM, Eli Zaretskii = wrote: >=20 >> From: >> Date: Thu, 19 Sep 2024 12:33:13 -0700 >>=20 >> Normal `csharp-mode` works fine to display C# files with syntax >> highlighting - if you use `csharp-ts-mode`, however, all syntax >> highlighting is lost. >=20 > Do you see any error messages in *Messages* when you use > csharp-ts-mode? >=20 > Theo and Yuan, it sounds like the C# grammar made some incompatible > change? Can we fix this ASAP (on the release branch), please? Tree-sitter-csharp devs changed so many things, it=E2=80=99s crazy. = Anyway, here=E2=80=99s a patch that works with the latest grammar. Theo, = can you use a test C# file and see if the new rules cover everything the = old rules cover? Yuan --Apple-Mail=_477C2CC2-90DC-431B-BB04-CE87889DB36B Content-Disposition: attachment; filename=csharp-ts-mode.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="csharp-ts-mode.patch" Content-Transfer-Encoding: quoted-printable =46rom=205fc39ea5745fced54ae4cae94bb63e2208dfbf69=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Yuan=20Fu=20=0ADate:=20Fri,=20= 20=20Sep=202024=2001:16:44=20-0700=0ASubject:=20[PATCH]=20Update=20= csharp-ts-mode=20font-lock=20(bug#73369)=0A=0AAdapt=20to=20the=20latest=20= c-sharp=20grammar.=0A=0A*=20lisp/progmodes/csharp-mode.el:=0A= (csharp-ts-mode--test-this-expression):=0A= (csharp-ts-mode--test-interpolated-string-text):=0A= (csharp-ts-mode--test-type-constraint):=0A= (csharp-ts-mode--test-type-of-expression):=0A= (csharp-ts-mode--test-name-equals):=0A= (csharp-ts-mode--test-if-directive):=0A= (csharp-ts-mode--test-method-declaration-type-field):=20New=0Afunctions.=0A= (csharp-ts-mode--type-field):=20New=20variable.=0A= (csharp-ts-mode--font-lock-settings):=20Fix=20font-lock=20rules.=0A---=0A= =20lisp/progmodes/csharp-mode.el=20|=20155=20= ++++++++++++++++++++++++++--------=0A=201=20file=20changed,=20118=20= insertions(+),=2037=20deletions(-)=0A=0Adiff=20--git=20= a/lisp/progmodes/csharp-mode.el=20b/lisp/progmodes/csharp-mode.el=0A= index=2029325ab9632..755303a158d=20100644=0A---=20= a/lisp/progmodes/csharp-mode.el=0A+++=20b/lisp/progmodes/csharp-mode.el=0A= @@=20-730,6=20+730,52=20@@=20csharp-ts-mode--keywords=0A=20=20=20=20=20= "readonly"=20"unmanaged")=0A=20=20=20"C#=20keywords=20for=20tree-sitter=20= font-locking.")=0A=20=0A+(defun=20csharp-ts-mode--test-this-expression=20= ()=0A+=20=20"Return=20non-nil=20if=20(this_expression)=20is=20named=20in=20= csharp=20grammar."=0A+=20=20(ignore-errors=0A+=20=20=20=20= (treesit-query-compile=20'c-sharp=20"(this_expression)"=20t)=0A+=20=20=20= =20t))=0A+=0A+(defun=20csharp-ts-mode--test-interpolated-string-text=20= ()=0A+=20=20"Return=20non-nil=20if=20(interpolated_string_text)=20is=20= in=20the=20grammar."=0A+=20=20(ignore-errors=0A+=20=20=20=20= (treesit-query-compile=20'c-sharp=20"(interpolated_string_text)"=20t)=0A= +=20=20=20=20t))=0A+=0A+(defun=20csharp-ts-mode--test-type-constraint=20= ()=0A+=20=20"Return=20non-nil=20if=20(type_constraint)=20is=20in=20the=20= grammar."=0A+=20=20(ignore-errors=0A+=20=20=20=20(treesit-query-compile=20= 'c-sharp=20"(type_constraint)"=20t)=0A+=20=20=20=20t))=0A+=0A+(defun=20= csharp-ts-mode--test-type-of-expression=20()=0A+=20=20"Return=20non-nil=20= if=20(type_of_expression)=20is=20in=20the=20grammar."=0A+=20=20= (ignore-errors=0A+=20=20=20=20(treesit-query-compile=20'c-sharp=20= "(type_of_expression)"=20t)=0A+=20=20=20=20t))=0A+=0A+(defun=20= csharp-ts-mode--test-name-equals=20()=0A+=20=20"Return=20non-nil=20if=20= (name_equals)=20is=20in=20the=20grammar."=0A+=20=20(ignore-errors=0A+=20=20= =20=20(treesit-query-compile=20'c-sharp=20"(name_equals)"=20t)=0A+=20=20=20= =20t))=0A+=0A+(defun=20csharp-ts-mode--test-if-directive=20()=0A+=20=20= "Return=20non-nil=20if=20(if_directive)=20is=20in=20the=20grammar."=0A+=20= =20(ignore-errors=0A+=20=20=20=20(treesit-query-compile=20'c-sharp=20= "(if_directive)"=20t)=0A+=20=20=20=20t))=0A+=0A+(defun=20= csharp-ts-mode--test-method-declaration-type-field=20()=0A+=20=20"Return=20= non-nil=20if=20(method_declaration)=20has=20a=20type=20field."=0A+=20=20= (ignore-errors=0A+=20=20=20=20(treesit-query-compile=20'c-sharp=20= "(method_declaration=20type:=20(_))"=20t)=0A+=20=20=20=20t))=0A+=0A= +(defvar=20csharp-ts-mode--type-field=0A+=20=20(if=20= (csharp-ts-mode--test-method-declaration-type-field)=0A+=20=20=20=20=20=20= 'type:=20'returns:))=0A+=0A=20(defvar=20= csharp-ts-mode--font-lock-settings=0A=20=20=20(treesit-font-lock-rules=0A= =20=20=20=20:language=20'c-sharp=0A@@=20-760,7=20+806,9=20@@=20= csharp-ts-mode--font-lock-settings=0A=20=20=20=20:feature=20'keyword=0A=20= =20=20=20`([,@csharp-ts-mode--keywords]=20@font-lock-keyword-face=0A=20=20= =20=20=20=20(modifier)=20@font-lock-keyword-face=0A-=20=20=20=20=20= (this_expression)=20@font-lock-keyword-face)=0A+=20=20=20=20=20,@(if=20= (csharp-ts-mode--test-this-expression)=0A+=20=20=20=20=20=20=20=20=20=20=20= '((this_expression)=20@font-lock-keyword-face)=0A+=20=20=20=20=20=20=20=20= =20'("this"=20@font-lock-keyword-face)))=0A=20=0A=20=20=20=20:language=20= 'c-sharp=0A=20=20=20=20:override=20t=0A@@=20-786,18=20+834,23=20@@=20= csharp-ts-mode--font-lock-settings=0A=20=20=20=20:feature=20'string=0A=20= =20=20=20`([(string_literal)=0A=20=20=20=20=20=20=20= (verbatim_string_literal)=0A-=20=20=20=20=20=20= (interpolated_string_text)=0A-=20=20=20=20=20=20= (interpolated_verbatim_string_text)=0A-=20=20=20=20=20=20= (character_literal)=0A-=20=20=20=20=20=20"\""=0A-=20=20=20=20=20=20"$\""=0A= -=20=20=20=20=20=20"@$\""=0A-=20=20=20=20=20=20"$@\""]=20= @font-lock-string-face)=0A+=20=20=20=20=20=20,@(if=20= (csharp-ts-mode--test-interpolated-string-text)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20'((interpolated_string_text)=0A+=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(interpolated_verbatim_string_text)=0A+=20=20=20=20=20=20=20=20= =20=20=20=20=20=20(character_literal)=0A+=20=20=20=20=20=20=20=20=20=20=20= =20=20=20"\""=0A+=20=20=20=20=20=20=20=20=20=20=20=20=20=20"$\""=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20"@$\""=0A+=20=20=20=20=20=20=20=20=20= =20=20=20=20=20"$@\"")=0A+=20=20=20=20=20=20=20=20=20=20= '((interpolated_string_expression)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (interpolation_start)=0A+=20=20=20=20=20=20=20=20=20=20=20=20= (interpolation_quote)))]=0A+=20=20=20=20=20@font-lock-string-face)=0A=20=0A= =20=20=20=20:language=20'c-sharp=0A=20=20=20=20:override=20t=0A=20=20=20=20= :feature=20'type=0A-=20=20=20'((predefined_type)=20@font-lock-type-face=0A= +=20=20=20`((predefined_type)=20@font-lock-type-face=0A=20=20=20=20=20=20= (implicit_type)=20@font-lock-type-face=0A=20=20=20=20=20=20= (nullable_type)=20@font-lock-type-face=0A=20=20=20=20=20=20= (type_parameter=0A@@=20-816,10=20+869,17=20@@=20= csharp-ts-mode--font-lock-settings=0A=20=20=20=20=20=20(cast_expression=20= (generic_name=20(identifier)=20@font-lock-type-face))=0A=20=20=20=20=20=20= ["operator"]=20@font-lock-type-face=0A=20=20=20=20=20=20= (type_parameter_constraints_clause=0A-=20=20=20=20=20=20target:=20= (identifier)=20@font-lock-type-face)=0A-=20=20=20=20=20(type_constraint=20= type:=20(identifier)=20@font-lock-type-face)=0A-=20=20=20=20=20= (type_constraint=20type:=20(generic_name=20(identifier)=20= @font-lock-type-face))=0A-=20=20=20=20=20(type_of_expression=20= (identifier)=20@font-lock-type-face)=0A+=20=20=20=20=20=20(identifier)=20= @font-lock-type-face)=0A+=20=20=20=20=20,@(if=20= (csharp-ts-mode--test-type-constraint)=0A+=20=20=20=20=20=20=20=20=20=20=20= '((type_constraint=20type:=20(identifier)=20@font-lock-type-face)=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20(type_constraint=20type:=20= (generic_name=20(identifier)=20@font-lock-type-face)))=0A+=20=20=20=20=20= =20=20=20=20'((type_parameter_constraint=20(type=20type:=20(identifier)=20= @font-lock-type-face))=0A+=20=20=20=20=20=20=20=20=20=20=20= (type_parameter_constraint=20(type=20type:=20(generic_name=20= (identifier)=20@font-lock-type-face)))))=0A+=0A+=20=20=20=20=20,@(when=20= (csharp-ts-mode--test-type-of-expression)=0A+=20=20=20=20=20=20=20=20=20= '((type_of_expression=20(identifier)=20@font-lock-type-face))=0A+=20=20=20= =20=20=20=20=20=20'((typeof_expression=20(identifier)=20= @font-lock-type-face)))=0A+=0A=20=20=20=20=20=20= (object_creation_expression=0A=20=20=20=20=20=20=20type:=20(identifier)=20= @font-lock-type-face)=0A=20=20=20=20=20=20(object_creation_expression=0A= @@=20-832,8=20+892,9=20@@=20csharp-ts-mode--font-lock-settings=0A=20=20=20= =20:override=20t=0A=20=20=20=20`((qualified_name=20(identifier)=20= @font-lock-type-face)=0A=20=20=20=20=20=20(using_directive=20= (identifier)=20@font-lock-type-face)=0A-=20=20=20=20=20(using_directive=20= (name_equals=0A-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20(identifier)=20@font-lock-type-face))=0A+=20=20=20=20=20= ,@(when=20(csharp-ts-mode--test-name-equals)=0A+=20=20=20=20=20=20=20=20=20= '((using_directive=20(name_equals=0A+=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20(identifier)=20= @font-lock-type-face))))=0A=20=0A=20=20=20=20=20=20(enum_declaration=20= (identifier)=20@font-lock-type-face)=0A=20=20=20=20=20=20= (enum_member_declaration=20(identifier)=20@font-lock-variable-name-face)=0A= @@=20-861,10=20+922,10=20@@=20csharp-ts-mode--font-lock-settings=0A=20=20= =20=20=20=20;;;=20Check=20if=20keyword=20void_keyword=20is=20available,=20= then=20return=20the=20correct=20rule."=0A=20=20=20=20=20=20= ,@(condition-case=20nil=0A=20=20=20=20=20=20=20=20=20=20=20=20(progn=20= (treesit-query-capture=20'csharp=20'((void_keyword)=20@capture))=0A-=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20`((method_declaration=20= type:=20[(identifier)=20(void_keyword)]=20@font-lock-type-face)))=0A+=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20`((method_declaration=20= ,csharp-ts-mode--type-field=20[(identifier)=20(void_keyword)]=20= @font-lock-type-face)))=0A=20=20=20=20=20=20=20=20=20=20(error=0A-=20=20=20= =20=20=20=20=20=20=20`((method_declaration=20type:=20[(identifier)=20= (predefined_type)]=20@font-lock-type-face))))=0A-=20=20=20=20=20= (method_declaration=20type:=20(generic_name=20(identifier)=20= @font-lock-type-face))=0A+=20=20=20=20=20=20=20=20=20=20= `((method_declaration=20,csharp-ts-mode--type-field=20[(identifier)=20= (predefined_type)]=20@font-lock-type-face))))=0A+=20=20=20=20=20= (method_declaration=20,csharp-ts-mode--type-field=20(generic_name=20= (identifier)=20@font-lock-type-face))=0A=20=20=20=20=20=20= (method_declaration=20name:=20(_)=20@font-lock-function-name-face)=0A=20=0A= =20=20=20=20=20=20(catch_declaration=0A@@=20-907,25=20+968,45=20@@=20= csharp-ts-mode--font-lock-settings=0A=20=20=20=20:language=20'c-sharp=0A=20= =20=20=20:feature=20'directives=0A=20=20=20=20:override=20t=0A-=20=20=20= '((if_directive=0A-=20=20=20=20=20=20"if"=20@font-lock-preprocessor-face=0A= -=20=20=20=20=20=20(identifier)=20@font-lock-variable-use-face)=0A-=20=20= =20=20=20(elif_directive=0A-=20=20=20=20=20=20"elif"=20= @font-lock-preprocessor-face=0A-=20=20=20=20=20=20(identifier)=20= @font-lock-variable-use-face)=0A-=20=20=20=20=20(else_directive)=20= @font-lock-preprocessor-face=0A-=20=20=20=20=20(endif_directive)=20= @font-lock-preprocessor-face=0A-=20=20=20=20=20(define_directive=0A-=20=20= =20=20=20=20"define"=20@font-lock-preprocessor-face=0A-=20=20=20=20=20=20= (identifier)=20@font-lock-variable-use-face)=0A-=20=20=20=20=20= (nullable_directive)=20@font-lock-preprocessor-face=0A-=20=20=20=20=20= (pragma_directive)=20@font-lock-preprocessor-face=0A-=20=20=20=20=20= (region_directive)=20@font-lock-preprocessor-face=0A-=20=20=20=20=20= (endregion_directive)=20@font-lock-preprocessor-face=0A-=20=20=20=20=20= (region_directive=0A-=20=20=20=20=20=20(preproc_message)=20= @font-lock-variable-use-face)=0A-=20=20=20=20=20(endregion_directive=0A-=20= =20=20=20=20=20(preproc_message)=20@font-lock-variable-use-face))))=0A+=20= =20=20(if=20(csharp-ts-mode--test-if-directive)=0A+=20=20=20=20=20=20=20= '((if_directive=0A+=20=20=20=20=20=20=20=20=20=20"if"=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20=20=20= (identifier)=20@font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20=20=20= (elif_directive=0A+=20=20=20=20=20=20=20=20=20=20"elif"=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20=20=20= (identifier)=20@font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20=20=20= (else_directive)=20@font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20= =20(endif_directive)=20@font-lock-preprocessor-face=0A+=20=20=20=20=20=20= =20=20=20(define_directive=0A+=20=20=20=20=20=20=20=20=20=20"define"=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20=20=20= (identifier)=20@font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20=20=20= (nullable_directive)=20@font-lock-preprocessor-face=0A+=20=20=20=20=20=20= =20=20=20(pragma_directive)=20@font-lock-preprocessor-face=0A+=20=20=20=20= =20=20=20=20=20(region_directive)=20@font-lock-preprocessor-face=0A+=20=20= =20=20=20=20=20=20=20(endregion_directive)=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20=20= (region_directive=0A+=20=20=20=20=20=20=20=20=20=20(preproc_message)=20= @font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20=20=20= (endregion_directive=0A+=20=20=20=20=20=20=20=20=20=20(preproc_message)=20= @font-lock-variable-use-face))=0A+=20=20=20=20=20'((preproc_if=0A+=20=20=20= =20=20=20=20=20"#if"=20@font-lock-preprocessor-face=0A+=20=20=20=20=20=20= =20=20(identifier)=20@font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20= (preproc_elif=0A+=20=20=20=20=20=20=20=20"#elif"=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20=20(identifier)=20= @font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20(preproc_else)=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20"#endif"=20= @font-lock-preprocessor-face=0A+=20=20=20=20=20=20=20(preproc_define=0A+=20= =20=20=20=20=20=20=20"#define"=20@font-lock-preprocessor-face=0A+=20=20=20= =20=20=20=20=20(preproc_arg)=20@font-lock-variable-use-face)=0A+=20=20=20= =20=20=20=20(preproc_nullable)=20@font-lock-preprocessor-face=0A+=20=20=20= =20=20=20=20(preproc_pragma)=20@font-lock-preprocessor-face=0A+=20=20=20=20= =20=20=20(preproc_region)=20@font-lock-preprocessor-face=0A+=20=20=20=20=20= =20=20(preproc_endregion)=20@font-lock-preprocessor-face=0A+=20=20=20=20=20= =20=20(preproc_region=0A+=20=20=20=20=20=20=20=20(preproc_arg)=20= @font-lock-variable-use-face)=0A+=20=20=20=20=20=20=20(preproc_endregion=0A= +=20=20=20=20=20=20=20=20(preproc_arg)=20= @font-lock-variable-use-face)))))=0A=20=0A=20;;;###autoload=0A=20= (add-to-list=20'auto-mode-alist=20'("\\.cs\\'"=20.=20csharp-mode))=0A--=20= =0A2.39.5=20(Apple=20Git-151)=0A=0A= --Apple-Mail=_477C2CC2-90DC-431B-BB04-CE87889DB36B Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii --Apple-Mail=_477C2CC2-90DC-431B-BB04-CE87889DB36B--