mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-06-20 20:53:23 +00:00
chatviewtextprocessor: fix Go syntax highlighting (#3080)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
parent
ebda9146e7
commit
bff2d58d02
@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|||||||
### Fixed
|
### Fixed
|
||||||
- Fix models.json cache location ([#3052](https://github.com/nomic-ai/gpt4all/pull/3052))
|
- Fix models.json cache location ([#3052](https://github.com/nomic-ai/gpt4all/pull/3052))
|
||||||
- Fix LocalDocs regressions caused by docx change ([#3079](https://github.com/nomic-ai/gpt4all/pull/3079))
|
- Fix LocalDocs regressions caused by docx change ([#3079](https://github.com/nomic-ai/gpt4all/pull/3079))
|
||||||
|
- Fix Go code being highlighted as Java ([#3080](https://github.com/nomic-ai/gpt4all/pull/3080))
|
||||||
|
|
||||||
## [3.4.0] - 2024-10-08
|
## [3.4.0] - 2024-10-08
|
||||||
|
|
||||||
|
@ -738,7 +738,7 @@ void SyntaxHighlighter::highlightBlock(const QString &text)
|
|||||||
case Java:
|
case Java:
|
||||||
rules = javaHighlightingRules(); break;
|
rules = javaHighlightingRules(); break;
|
||||||
case Go:
|
case Go:
|
||||||
rules = javaHighlightingRules(); break;
|
rules = goHighlightingRules(); break;
|
||||||
case Json:
|
case Json:
|
||||||
rules = jsonHighlightingRules(); break;
|
rules = jsonHighlightingRules(); break;
|
||||||
case Latex:
|
case Latex:
|
||||||
|
Loading…
Reference in New Issue
Block a user