[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode e624191b3d 11/71: line-start and line-end
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode e624191b3d 11/71: line-start and line-end apply to entire `definition` regex |
Date: |
Fri, 25 Aug 2023 03:59:25 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit e624191b3dfcc21b727fb23f6a0c42d7cf250cb2
Author: dannyfreeman <danny@dfreeman.email>
Commit: dannyfreeman <danny@dfreeman.email>
line-start and line-end apply to entire `definition` regex
---
clojure-ts-mode.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/clojure-ts-mode.el b/clojure-ts-mode.el
index 1376aa3003..1e9e0e1e19 100644
--- a/clojure-ts-mode.el
+++ b/clojure-ts-mode.el
@@ -174,11 +174,13 @@
(defconst clojure--definition-keyword-regexp
(rx
- (or (group line-start (or "ns" "fn") line-end)
+ line-start
+ (or (group (or "ns" "fn"))
(group "def"
(+ (or alnum
;; What are valid characters for symbols? is a negative
match better?
- "-" "_" "!" "@" "#" "$" "%" "^" "&" "*" "|" "?" "<" ">"
"+" "=" ":"))))))
+ "-" "_" "!" "@" "#" "$" "%" "^" "&" "*" "|" "?" "<" ">"
"+" "=" ":"))))
+ line-end))
(defconst clojure--variable-keyword-regexp
(rx line-start (or "def" "defonce") line-end))
- [nongnu] elpa/clojure-ts-mode adab55ce10 05/71: Markdown formatting and typos, (continued)
- [nongnu] elpa/clojure-ts-mode adab55ce10 05/71: Markdown formatting and typos, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 06ab14a443 23/71: Add the standard GitHub templates, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 712dc772fd 55/71: Adds syntax table, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 8a98d260fd 27/71: Imenu support for namespace, defn, and def forms, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode fb63469870 60/71: Update changelog, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode b26d46e195 28/71: Add macros to imenu, declare used treesit C functions, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode a244ddeee3 43/71: Add comment to explain why extracting seems over-complicated., ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode bf4a07063a 44/71: Fix missing interfaces in imenu caused my node name typo, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode aab92b9c27 45/71: Fix indentation of function calls when treesit node is nil, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode a3e5ba84fd 42/71: Add more definition types to imenu, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode e624191b3d 11/71: line-start and line-end apply to entire `definition` regex,
ELPA Syncer <=
- [nongnu] elpa/clojure-ts-mode 38d3672ba9 18/71: Unused highlight cleanup, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode ed7b301e1e 04/71: Add install instructions, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 8109fdfe1a 40/71: Fix a bad name, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode f469a8c558 24/71: Add a note about the current status, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 866e815f8e 63/71: Release v0.1.2, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode e423062a04 10/71: Fix a link, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 2fe33b8fc2 35/71: Fix a typo, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode aed33874a7 22/71: Update copyright years, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 9fb5739a67 64/71: Add elpaignore file, ELPA Syncer, 2023/08/25
- [nongnu] elpa/clojure-ts-mode 2d6b12e15b 61/71: Fix link in changelog, ELPA Syncer, 2023/08/25