Jason Lee
|
89c210c4ca
|
highlighter: Avoid crash when language not registered. (#954)
Close #952
Fallback to use plain text to display.
|
2025-06-12 19:45:29 +08:00 |
|
Jason Lee
|
d61b0d2510
|
highlighter: Fix highlight offset and reset highlight when replace all text. (#950)
- Improve JSON highlights.
<img width="839" alt="image"
src="https://github.com/user-attachments/assets/3f28ae1c-9f07-4df4-a477-f875a26d4c7d"
/>
|
2025-06-12 14:11:01 +08:00 |
|
Jason Lee
|
a7505487e1
|
highlighter: Fix Zig language highlight. (#942)
<img width="1143" alt="image"
src="https://github.com/user-attachments/assets/62f87eb4-1d16-4165-8504-803aadf1b0fe"
/>
|
2025-06-11 16:18:38 +08:00 |
|
Jason Lee
|
79ff6ba9cc
|
highlighter: Fix injection language highlight. (#931)
Still have a bit bug for highlight:
<img width="1012" alt="image"
src="https://github.com/user-attachments/assets/7ec39c85-c20c-4231-8752-b2a7a80f5570"
/>
|
2025-06-11 15:26:27 +08:00 |
|
Jason Lee
|
c3ec1deb97
|
code-editor: Update CodeEditor to support external language. (#928)
Add [Navi](https://navi-lang.org) language for example to external
language for CodeEditor.
<img width="864" alt="image"
src="https://github.com/user-attachments/assets/73afa56d-31bd-4867-a9f2-0a8cf790af0f"
/>
|
2025-06-09 14:27:33 +08:00 |
|
Duane Bester
|
4477cca969
|
highlighter: Adding tree-sitter-sequel for SQL support. (#917)
📦 Adding dependency:
[tree-sitter-sequel](https://github.com/derekstride/tree-sitter-sql)
### Previews
<img width="1398" alt="Screenshot 2025-06-04 at 9 27 08 PM"
src="https://github.com/user-attachments/assets/4aee67be-6fb3-4c57-95be-20792639851a"
/>
<img width="1398" alt="Screenshot 2025-06-04 at 9 34 02 PM"
src="https://github.com/user-attachments/assets/730e148f-2bc9-481d-8eea-8110f7884e69"
/>
|
2025-06-05 11:54:52 +08:00 |
|
Jason Lee
|
a4aff404ce
|
highlighter: Use tree-sitter to highlight code. (#904)
<img width="1318" alt="image"
src="https://github.com/user-attachments/assets/4a8e7b93-a7e7-4648-b8da-c5a6e7ede4f9"
/>
<img width="1318" alt="image"
src="https://github.com/user-attachments/assets/bfc35845-719f-4c97-bf50-087feb0f6775"
/>
|
2025-05-29 19:54:52 +08:00 |
|