lapce / lapce/lapce

Syntax highlighting broken

Open
#689 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

A-syntax C-bug
Dominant language
Rust
Stars
38.9k
Forks
1.3k
Avg merge
19m
Merged PRs (30d)
1

Description

Version: 0.1.2
OS: macOS 12.4

When I edit a Rust file the syntax highlighting breaks until I restart the editor (just closing the file and reopening doesn't help)

Steps to reproduce

  1. Create a new rust file
  2. Start editing the file and save the file. Syntax highlighting works
  3. Continue editing the file and syntax highlighting breaks (text only white)

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the editor with a new Rust file using the listed steps, then inspect the syntax-highlighting path responsible for updates after saving and continued editing. Done means Rust syntax highlighting remains visible while editing, without closing the file or restarting the editor.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.