[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/clojure-ts-mode 4e4b03e2de 137/210: [Fix #508] Correct fon
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/clojure-ts-mode 4e4b03e2de 137/210: [Fix #508] Correct font-lock for namespaces |
Date: |
Thu, 31 Oct 2024 18:59:50 -0400 (EDT) |
branch: elpa/clojure-ts-mode
commit 4e4b03e2de1ef09d1ec506948ed318311e601dce
Author: Carlos Requena López <crequena@ulb.ac.be>
Commit: Carlos Requena López <crequena@ulb.ac.be>
[Fix #508] Correct font-lock for namespaces
namespace metadata prevented the namespace name to be highlighted as such
add font-lock tests as well.
---
clojure-mode-font-lock-test.el | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/clojure-mode-font-lock-test.el b/clojure-mode-font-lock-test.el
index 2eb1fa15f7..8eb187c3ce 100644
--- a/clojure-mode-font-lock-test.el
+++ b/clojure-mode-font-lock-test.el
@@ -149,7 +149,14 @@ POS."
(should (eq (clojure-test-face-at 5 11 "(ns Foo-bar)") 'font-lock-type-face))
(should (eq (clojure-test-face-at 5 11 "(ns Foo-Bar)") 'font-lock-type-face))
(should (eq (clojure-test-face-at 5 11 "(ns foo-Bar)") 'font-lock-type-face))
- (should (eq (clojure-test-face-at 5 9 "(ns one.X)") 'font-lock-type-face)))
+ (should (eq (clojure-test-face-at 5 9 "(ns one.X)") 'font-lock-type-face))
+ (should (eq (clojure-test-face-at 10 16 "(ns ^:md ns-name)")
'font-lock-type-face))
+ (should (eq (clojure-test-face-at 13 19 "(ns ^:md \n ns-name)")
'font-lock-type-face))
+ (should (eq (clojure-test-face-at 17 23 "(ns ^:md1 ^:md2 ns-name)")
'font-lock-type-face))
+ (should (eq (clojure-test-face-at 24 30 "(ns ^:md1 ^{:md2 true} ns-name)")
'font-lock-type-face))
+ (should (eq (clojure-test-face-at 24 30 "(ns ^{:md2 true} ^:md1 ns-name)")
'font-lock-type-face))
+ (should (eq (clojure-test-face-at 27 33 "(ns ^:md1 ^{:md2 true} \n
ns-name)") 'font-lock-type-face))
+ (should (eq (clojure-test-face-at 27 33 "(ns ^{:md2 true} ^:md1 \n
ns-name)") 'font-lock-type-face)))
(ert-deftest clojure-mode-syntax-table/oneword ()
:tags '(fontification syntax-table)
- [nongnu] elpa/clojure-ts-mode 4599b47b58 104/210: Add indentation rule for definterface (#395), (continued)
- [nongnu] elpa/clojure-ts-mode 4599b47b58 104/210: Add indentation rule for definterface (#395), ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 29ba69e72d 107/210: [Fix #399] Fix font-locking of prefix characters inside keywords (#401), ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode f199d20141 093/210: Add threading macros related refactorings, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 99b74128f2 105/210: Add tests for correct treatment of prefix syntax, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode ce815f99a3 106/210: Create separate clojure-mode-syntax-test suite, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode cbbf18a6a7 108/210: Port let related refactorings from clj-refactor.el, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 294714b89f 101/210: Fix bug when passing lambda to define-clojure-indent, closes #383, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 9c98734cb6 099/210: Add a test for ns-sort, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode fbf55ac199 141/210: Merge pull request #505 from carlosgeos/fix-445, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 18d6f4f2ec 113/210: Remove ; from paragraph-start regexp during fill (#434), ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 4e4b03e2de 137/210: [Fix #508] Correct font-lock for namespaces,
ELPA Syncer <=
- [nongnu] elpa/clojure-ts-mode fb88b3b3c8 116/210: Move to top-level before `re-search-backward` in `clojure-find-ns`, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1d604dbafc 139/210: Merge pull request #509 from carlosgeos/fix-508, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode a126773966 145/210: [#422] Split def-refactor-test macro into 2 separate macros., ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 756d6941d8 151/210: Bump the copyright years, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1a9b88b774 013/210: Font-lock cljx features, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 35bdde40d9 150/210: [Fix #410] Add refactoring: add an arity to a function., ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 5f268e139f 008/210: Font lock static method calls like SomeClass/someMethod, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode 1b7a61db89 030/210: [Fix #274] Correct font-locking of punctuation character literals, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode a9fc8cb5bf 038/210: Fix font-locking tests, ELPA Syncer, 2024/10/31
- [nongnu] elpa/clojure-ts-mode c855d1eefd 040/210: Fix for error in `clojure-expected-ns`, ELPA Syncer, 2024/10/31