Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with markdown inline #60

Open
rrudakov opened this issue Feb 17, 2025 · 0 comments
Open

Issues with markdown inline #60

rrudakov opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@rrudakov
Copy link
Contributor

Follow up #59

clojure-ts-mode-bug.mp4

The video is probably a bit long, but I wanted to catch the memory leak.

Problems

  1. 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.
  2. Syntax highlighting is not accurate and not consistent. Sometimes closing backtick has the same color as a variable enclosed into backticks, sometimes not.
  3. 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

@bbatsov bbatsov added the bug Something isn't working label Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants