Closed
Description
Expect Syntax highlighting works normally,
But Syntax highlighting is not working properly.
Steps to reproduce the problem
cd .emacs.d
mkdir site-lisp; cd site-lisp
git clone https://github.com/clojure-emacs/clojure-ts-mode.git
git clone https://github.com/clojure-emacs/parseclj.git
git clone https://github.com/clojure-emacs/parseedn.git
git clone https://github.com/Malabarba/spinner.el.git
git clone https://github.com/emacs-straight/queue.git
git clone https://github.com/vspinu/sesman.git
git clone https://github.com/jorgenschaefer/emacs-buttercup.git
git clone https://github.com/clojure-emacs/clojure-mode.git
git clone https://github.com/clojure-emacs/cider.git
and config the init.el
(add-to-list 'treesit-extra-load-path (expand-file-name "tree-sitter/" user-emacs-directory))
(add-to-list 'load-path "~/.emacs.d/site-lisp/clojure-ts-mode")
(add-to-list 'load-path "~/.emacs.d/site-lisp/parseedn")
(add-to-list 'load-path "~/.emacs.d/site-lisp/parseclj")
(add-to-list 'load-path "~/.emacs.d/site-lisp/spinner.el")
(add-to-list 'load-path "~/.emacs.d/site-lisp/queue")
(add-to-list 'load-path "~/.emacs.d/site-lisp/sesman")
(add-to-list 'load-path "~/.emacs.d/site-lisp/emacs-buttercup")
(add-to-list 'load-path "~/.emacs.d/site-lisp/clojure-mode")
(add-to-list 'load-path "~/.emacs.d/site-lisp/cider")
(require 'cider)
(require 'clojure-ts-mode)
(add-to-list 'auto-mode-alist '("\\.edn\\'" . clojure-ts-mode))
(add-hook 'clojure-ts-mode-hook #'cider-mode)
then open the deps.edn, if i uncomment the (add-hook 'clojure-ts-mode-hook #'cider-mode)
it doesn't show ok
if i comment the (add-hook 'clojure-ts-mode-hook #'cider-mode)
, it shows ok
Environment & Version information
CIDER version information
the latest code in github
Emacs version
GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.3.0, NS
appkit-2575.40 Version 15.3.2 (Build 24D81)) of 2025-03-17
Copyright (C) 2025 Free Software Foundation, Inc.
Operating system
macos 15.3.2 (24D81)
Metadata
Metadata
Assignees
Labels
No labels