Closed
Description
Follow up #59
clojure-ts-mode-bug.mp4
The video is probably a bit long, but I wanted to catch the memory leak.
Problems
- In some cases markdown syntax highlighting is not limited by the docstring. When I type the opening backtick, the rest of the file is highlighted incorrectly, including Clojure code.
- Syntax highlighting is not accurate and not consistent. Sometimes closing backtick has the same color as a variable enclosed into backticks, sometimes not.
- I pretty often encounter a memory leak when inline markdown is enabled. It can bee seen on the video, I started a fresh Emacs session, opened a single Clojure file and edited it for a few minutes. After that Emacs freezes and in the Activity monitor I see that memory usage is growing.
Emacs version
GNU Emacs 31.0.50 (build 1, aarch64-apple-darwin24.3.0, NS appkit-2575.40 Version 15.3 (Build 24D60)) of 2025-02-07
I also saw this problem on version 29 and 30
Clojure-ts-mode version
The latest from MELPA.
OS
MacOS 15.3