From unknown Sat Aug 09 05:04:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67605: [PATCH] Add font-lock tests for lua-ts-mode Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Dec 2023 17:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67605@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170162347725836 (code B ref -1); Sun, 03 Dec 2023 17:12:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2023 17:11:17 +0000 Received: from localhost ([127.0.0.1]:60746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pzx-0006id-6F for submit@debbugs.gnu.org; Sun, 03 Dec 2023 12:11:17 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pzs-0006iH-6D for submit@debbugs.gnu.org; Sun, 03 Dec 2023 12:11:15 -0500 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 1r9pzc-0006Fk-A9 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 12:10:56 -0500 Received: from out-180.mta0.migadu.com ([91.218.175.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9pzZ-00014A-Ie for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 12:10:56 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1701623444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=tYddZ+Wvofa0tpT+eO1rjzcbeSik+ET5rnVEMTwz/wM=; b=cF16TRBc/PcJYI2aa3L1cqq9XddpL++aWiL5O0Oa0VDCkMPcsYDqYUrrzWpcC5gB9HoePl S9U8R/aG+n8xiZoc+sRdpsUmrsndJOPSFbF3BpKcLm+DqxWTGjmpD6nqvGfu90ijEkPmDu j6x+su0xF/ZG7gBdWH7ypb/uKk4ncH0= From: john muhl Date: Sun, 03 Dec 2023 11:06:31 -0600 Message-ID: <87jzpvfbzk.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.180; envelope-from=jm@pub.pink; helo=out-180.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Tags: patch Adds font-lock tests to the repo now that ert-font-lock is included. From unknown Sat Aug 09 05:04:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#67605: Acknowledgement ([PATCH] Add font-lock tests for lua-ts-mode) Resent-From: john muhl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Dec 2023 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67605 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 67605@debbugs.gnu.org Received: via spool by 67605-submit@debbugs.gnu.org id=B67605.170162394726669 (code B ref 67605); Sun, 03 Dec 2023 17:20:02 +0000 Received: (at 67605) by debbugs.gnu.org; 3 Dec 2023 17:19:07 +0000 Received: from localhost ([127.0.0.1]:60780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9q7W-0006w5-B6 for submit@debbugs.gnu.org; Sun, 03 Dec 2023 12:19:06 -0500 Received: from out-183.mta1.migadu.com ([95.215.58.183]:48804) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9q7U-0006vw-Ss for 67605@debbugs.gnu.org; Sun, 03 Dec 2023 12:19:05 -0500 References: <87jzpvfbzk.fsf@pub.pink> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1701623933; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=oHlW6wFbg1191ge29d4eoiXkHgnkP3aqBj79API3nA0=; b=HNWYoTkIvKB/BKAcN0H5NOnhZ9kk8c8rUeKAjJPlYXgzukAG0KDagQB6KD4V4zRwW9LBGU vvZvcxR6lhl1J3PPN2XXpoL05dpSKoFdtntv5btKtMnpTUv2QgYg+FOtdridozV8Fu8dF5 N7h33rp0S51WPjEA12yxBDAA8df7Res= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: john muhl Date: Sun, 03 Dec 2023 11:18:13 -0600 In-reply-to: Message-ID: <87cyvnfbly.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-font-lock-tests-for-lua-ts-mode-bug-67605.patch X-Migadu-Flow: FLOW_OUT X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) >From 249430935fb3cb0ee0e6b808922bef84a66b9cb7 Mon Sep 17 00:00:00 2001 From: john muhl Date: Sun, 3 Dec 2023 10:56:04 -0600 Subject: [PATCH] Add font-lock tests for lua-ts-mode (bug#67605) * test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-font-lock): Add ert-font-lock tests. (lua-ts-mode-test-indentation): (lua-ts-test-indentation): (lua-ts-mode-test-movement): (lua-ts-test-movement): Rename for consistency. * test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua: New file. --- .../lua-ts-mode-resources/font-lock.lua | 339 ++++++++++++++++++ test/lisp/progmodes/lua-ts-mode-tests.el | 10 +- 2 files changed, 347 insertions(+), 2 deletions(-) create mode 100644 test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua diff --git a/test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua b/test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua new file mode 100644 index 00000000000..93d589e3825 --- /dev/null +++ b/test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua @@ -0,0 +1,339 @@ +#!/usr/bin/env lua +-- ^ font-lock-comment-face +-- Comment +-- <- font-lock-comment-delimiter-face +-- ^ font-lock-comment-face +--[[ +-- ^ font-lock-comment-face +Multi-line comment +-- ^ font-lock-comment-face +]] +-- <- font-lock-comment-face +local line_comment = "comment" -- comment +-- ^ font-lock-comment-face + +-- Definition +local function f1() end +-- ^ font-lock-function-name-face +local f2 = function() end +-- ^ font-lock-function-name-face +local tb = { f1 = function() end } +-- ^ font-lock-function-name-face +function tb.f2() end +-- ^ font-lock-function-name-face +function tb:f3() end +-- ^ font-lock-function-name-face +tbl.f4 = function() end +-- ^ font-lock-function-name-face +function x.y:z() end +-- ^ font-lock-function-name-face + +-- Keyword +if true then +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +elseif true then +-- <- font-lock-keyword-face +else end +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +local p = {} +-- ^ font-lock-keyword-face +for k,v in pairs({}) do end +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +repeat if true then break end until false +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +-- ^ font-lock-keyword-face +while true do end +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +function fn() return true end +-- <- font-lock-keyword-face +-- ^ font-lock-keyword-face +goto label1 +-- ^ font-lock-keyword-face +::label1:: +if true and not false or nil then +-- ^ font-lock-keyword-face +-- ^ font-lock-keyword-face +-- ^ font-lock-keyword-face +end + +-- String +local _ +_ = "x" +-- ^ font-lock-string-face +_ = 'x' +-- ^ font-lock-string-face +_ = "x\ty" +-- ^ font-lock-string-face +-- ^ font-lock-string-face +_ = "x\"y" +-- ^ font-lock-string-face +-- ^ font-lock-string-face +_ = 'x\'y' +-- ^ font-lock-string-face +-- ^ font-lock-string-face +_ = "x\z + y" +-- ^ font-lock-string-face +_ = "x\0900y" +-- ^ font-lock-string-face +_ = "x\09y" +-- ^ font-lock-string-face +_ = "x\0y" +-- ^ font-lock-string-face +_ = "x\u{1f602}y" +-- ^ font-lock-string-face +_ = [[x]] +-- ^ font-lock-string-face +_ = [=[x]=] +-- ^ font-lock-string-face + +-- Assignment +local n = 0 +-- ^ font-lock-variable-name-face +o, p, q = 1, 2, 3 +-- <- font-lock-variable-name-face +-- ^ font-lock-variable-name-face +-- ^ font-lock-variable-name-face +tbl[k] = "A" +-- ^ font-lock-variable-name-face +tbl.x = 1 +-- ^ font-lock-variable-name-face +for i=0,9 do end +-- ^ font-lock-variable-name-face + +-- Constant +local x = 1 +-- ^ font-lock-constant-face +local f = io.open('/file') +-- ^ font-lock-constant-face +local a, b, c = true, false, nil +-- ^ font-lock-constant-face +-- ^ font-lock-constant-face +-- ^ font-lock-constant-face +::label2:: +-- ^ font-lock-constant-face +goto label2 +-- ^ font-lock-constant-face + +-- Number +n = 123 +-- ^ font-lock-number-face +print(99) +-- ^ font-lock-number-face +print(tbl[1]) +-- ^ font-lock-number-face + +-- Bracket +local t = {} +-- ^ font-lock-bracket-face +-- ^ font-lock-bracket-face +print(t[1]) +-- ^ font-lock-bracket-face +-- ^ font-lock-bracket-face +-- ^ font-lock-bracket-face +-- ^ font-lock-bracket-face + +-- Builtin +assert() +-- <- font-lock-builtin-face +bit32() +-- <- font-lock-builtin-face +collectgarbage() +-- <- font-lock-builtin-face +coroutine() +-- <- font-lock-builtin-face +debug() +-- <- font-lock-builtin-face +dofile() +-- <- font-lock-builtin-face +error() +-- <- font-lock-builtin-face +getmetatable() +-- <- font-lock-builtin-face +io() +-- <- font-lock-builtin-face +ipairs() +-- <- font-lock-builtin-face +load() +-- <- font-lock-builtin-face +loadfile() +-- <- font-lock-builtin-face +math() +-- <- font-lock-builtin-face +next() +-- <- font-lock-builtin-face +os() +-- <- font-lock-builtin-face +package() +-- <- font-lock-builtin-face +pairs() +-- <- font-lock-builtin-face +pcall() +-- <- font-lock-builtin-face +print() +-- <- font-lock-builtin-face +rawequal() +-- <- font-lock-builtin-face +rawget() +-- <- font-lock-builtin-face +rawlen() +-- <- font-lock-builtin-face +rawset() +-- <- font-lock-builtin-face +require() +-- <- font-lock-builtin-face +select() +-- <- font-lock-builtin-face +setmetatable() +-- <- font-lock-builtin-face +string() +-- <- font-lock-builtin-face +table() +-- <- font-lock-builtin-face +tonumber() +-- <- font-lock-builtin-face +tostring() +-- <- font-lock-builtin-face +type() +-- <- font-lock-builtin-face +utf8() +-- <- font-lock-builtin-face +warn() +-- <- font-lock-builtin-face +xpcall() +-- <- font-lock-builtin-face +print(_G) +-- ^ font-lock-builtin-face +print(_VERSION) +-- ^ font-lock-builtin-face +f.close() +-- ^ font-lock-builtin-face +f.flush() +-- ^ font-lock-builtin-face +f.lines() +-- ^ font-lock-builtin-face +f.read() +-- ^ font-lock-builtin-face +f.seek() +-- ^ font-lock-builtin-face +f.setvbuf() +-- ^ font-lock-builtin-face +f.write() +-- ^ font-lock-builtin-face + +-- Delimiter +t = { 1, 2 }; +-- ^ font-lock-delimiter-face +-- ^ font-lock-delimiter-face + +-- Escape +_ = "x\ty" +-- ^ font-lock-escape-face +-- ^ font-lock-escape-face +_ = "x\"y" +-- ^ font-lock-escape-face +-- ^ font-lock-escape-face +_ = 'x\'y' +-- ^ font-lock-escape-face +-- ^ font-lock-escape-face +_ = "x\z + y" +-- <- font-lock-escape-face +_ = "x\x5Ay" +-- ^ font-lock-escape-face +-- ^ font-lock-escape-face +_ = "x\0900y" +-- ^ font-lock-escape-face +_ = "x\09y" +-- ^ font-lock-escape-face +_ = "x\0y" +-- ^ font-lock-escape-face +_ = "x\u{1f602}y" +-- ^ font-lock-escape-face +-- ^ font-lock-escape-face + +-- Function +func_one() +-- ^ font-lock-function-call-face +tbl.func_two() +-- ^ font-lock-function-call-face +tbl:func_three() +-- ^ font-lock-function-call-face +tbl.f = f4() +-- ^ font-lock-function-call-face + +-- Operator +local a, b = 1, 2 +-- ^ font-lock-operator-face +print(a & b) +-- ^ font-lock-operator-face +print(a | b) +-- ^ font-lock-operator-face +print(a ~ b) +-- ^ font-lock-operator-face +print(a << 1) +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +print(a >> 1) +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +print(a+b-a*b/a%b^a//b) +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +-- ^ font-lock-operator-face +print(#t) +-- ^ font-lock-operator-face +print("h".."at") +-- ^ font-lock-operator-face +print(a==b) +-- ^ font-lock-operator-face +print(a~=b) +-- ^ font-lock-operator-face +print(a<=b) +-- ^ font-lock-operator-face +print(a>=b) +-- ^ font-lock-operator-face +print(ab) +-- ^ font-lock-operator-face +function ff(...) end +-- ^ font-lock-operator-face + +-- Property +t = { a=1 } +-- ^ font-lock-property-name-face +print(t.a) +-- ^ font-lock-property-use-face + +-- Punctuation +tbl.f2() +-- ^ font-lock-punctuation-face +tbl:f3() +-- ^ font-lock-punctuation-face + +-- Variable +function fn(x, y) end +-- ^ font-lock-variable-name-face +-- ^ font-lock-variable-name-face +fn(a, b) +-- ^ font-lock-variable-use-face +-- ^ font-lock-variable-use-face +print(a + b) +-- ^ font-lock-variable-use-face +-- ^ font-lock-variable-use-face +print(t[a]) +-- ^ font-lock-variable-use-face +tbl.f1(p) +-- ^ font-lock-variable-use-face +tbl:f2(q) +-- ^ font-lock-variable-use-face diff --git a/test/lisp/progmodes/lua-ts-mode-tests.el b/test/lisp/progmodes/lua-ts-mode-tests.el index d2105b66f6d..8a566d777e3 100644 --- a/test/lisp/progmodes/lua-ts-mode-tests.el +++ b/test/lisp/progmodes/lua-ts-mode-tests.el @@ -20,17 +20,23 @@ ;;; Code: (require 'ert) +(require 'ert-font-lock) (require 'ert-x) (require 'treesit) -(ert-deftest lua-ts-mode-test-indentation () +(ert-deftest lua-ts-test-indentation () (skip-unless (treesit-ready-p 'lua)) (ert-test-erts-file (ert-resource-file "indent.erts"))) -(ert-deftest lua-ts-mode-test-movement () +(ert-deftest lua-ts-test-movement () (skip-unless (treesit-ready-p 'lua)) (ert-test-erts-file (ert-resource-file "movement.erts"))) +(ert-deftest lua-ts-test-font-lock () + (skip-unless (treesit-ready-p 'lua)) + (let ((treesit-font-lock-level 4)) + (ert-font-lock-test-file (ert-resource-file "font-lock.lua") 'lua-ts-mode))) + (provide 'lua-ts-mode-tests) ;;; lua-ts-mode-tests.el ends here -- 2.41.0 From unknown Sat Aug 09 05:04:16 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: john muhl Subject: bug#67605: closed (Re: bug#67605: Acknowledgement ([PATCH] Add font-lock tests for lua-ts-mode)) Message-ID: References: <83lea3ycos.fsf@gnu.org> <87jzpvfbzk.fsf@pub.pink> X-Gnu-PR-Message: they-closed 67605 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 67605@debbugs.gnu.org Date: Sat, 09 Dec 2023 09:00:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1702112402-12918-1" This is a multi-part message in MIME format... ------------=_1702112402-12918-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67605: [PATCH] Add font-lock tests for lua-ts-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67605@debbugs.gnu.org. --=20 67605: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67605 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1702112402-12918-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67605-done) by debbugs.gnu.org; 9 Dec 2023 08:59:23 +0000 Received: from localhost ([127.0.0.1]:46794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBtBC-0003Kw-QT for submit@debbugs.gnu.org; Sat, 09 Dec 2023 03:59:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBtBA-0003Kk-DX for 67605-done@debbugs.gnu.org; Sat, 09 Dec 2023 03:59:21 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rBtAr-0000DB-65; Sat, 09 Dec 2023 03:59:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=090hiPXhNUq4Sfy6ZNb19pfonHawaaNZpWl61a3gcbM=; b=K0FKckAOhyLb 1h3X/VOyiJPKn4RWhjpAlQRGvJFBMLhDHeu/ldj4/TO7xwqZ5Bo/y1zUPRpAcRVd1qpgwxLy9zYna nIjjvRYN30WSC8KW+SqCHq1NYCUZKAbK2F3vxymfSSqaEbtI2On53bsc5Zc5QebgPbCaU/Dgv2N76 QdmmDnlUOrogstj4LFtj0moaIswcUe2pchXcsKX+TvktgRNWdqvaScamA7NNyixGA8yZ7+Q3RmOFd qA5LOPwkVKTEXabt8rGZcCzJburJdZk4lKz5B64UAen6J75+ZEj2F0vBPGYSU4jIt01qzdiS/xIx0 HkIKxpz8uga7uDEzLSmn5Q==; Date: Sat, 09 Dec 2023 10:58:43 +0200 Message-Id: <83lea3ycos.fsf@gnu.org> From: Eli Zaretskii To: john muhl In-Reply-To: <87cyvnfbly.fsf@pub.pink> (bug-gnu-emacs@gnu.org) Subject: Re: bug#67605: Acknowledgement ([PATCH] Add font-lock tests for lua-ts-mode) References: <87jzpvfbzk.fsf@pub.pink> <87cyvnfbly.fsf@pub.pink> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67605-done Cc: 67605-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 03 Dec 2023 11:18:13 -0600 > From: john muhl via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > >From 249430935fb3cb0ee0e6b808922bef84a66b9cb7 Mon Sep 17 00:00:00 2001 > From: john muhl > Date: Sun, 3 Dec 2023 10:56:04 -0600 > Subject: [PATCH] Add font-lock tests for lua-ts-mode (bug#67605) > > * test/lisp/progmodes/lua-ts-mode-tests.el (lua-ts-test-font-lock): > Add ert-font-lock tests. > (lua-ts-mode-test-indentation): > (lua-ts-test-indentation): > (lua-ts-mode-test-movement): > (lua-ts-test-movement): Rename for consistency. > * test/lisp/progmodes/lua-ts-mode-resources/font-lock.lua: New > file. Thanks, installed on the master branch, and closing the bug. ------------=_1702112402-12918-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Dec 2023 17:11:17 +0000 Received: from localhost ([127.0.0.1]:60746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pzx-0006id-6F for submit@debbugs.gnu.org; Sun, 03 Dec 2023 12:11:17 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9pzs-0006iH-6D for submit@debbugs.gnu.org; Sun, 03 Dec 2023 12:11:15 -0500 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 1r9pzc-0006Fk-A9 for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 12:10:56 -0500 Received: from out-180.mta0.migadu.com ([91.218.175.180]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r9pzZ-00014A-Ie for bug-gnu-emacs@gnu.org; Sun, 03 Dec 2023 12:10:56 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pub.pink; s=key1; t=1701623444; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=tYddZ+Wvofa0tpT+eO1rjzcbeSik+ET5rnVEMTwz/wM=; b=cF16TRBc/PcJYI2aa3L1cqq9XddpL++aWiL5O0Oa0VDCkMPcsYDqYUrrzWpcC5gB9HoePl S9U8R/aG+n8xiZoc+sRdpsUmrsndJOPSFbF3BpKcLm+DqxWTGjmpD6nqvGfu90ijEkPmDu j6x+su0xF/ZG7gBdWH7ypb/uKk4ncH0= From: john muhl To: bug-gnu-emacs@gnu.org Subject: [PATCH] Add font-lock tests for lua-ts-mode Date: Sun, 03 Dec 2023 11:06:31 -0600 Message-ID: <87jzpvfbzk.fsf@pub.pink> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.180; envelope-from=jm@pub.pink; helo=out-180.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) Tags: patch Adds font-lock tests to the repo now that ert-font-lock is included. ------------=_1702112402-12918-1--