Added C3 syntax highlighting and LSP support.

Refactored TextUndoStack, now uses std::variant and avoids heap allocating each command.
Fix possible crash in Process::readAll.
Fix SyntaxDefinition::setSymbols.
Some minor improvements for Odin and Ü syntax definitions.
Fix Git plugin silent configuration.
This commit is contained in:
Martín Lucas Golini
2025-04-04 01:48:39 -03:00
parent 8c131b2487
commit da85af1246
21 changed files with 333 additions and 188 deletions

View File

@@ -752,7 +752,7 @@ static LSPMarkupContent parseMarkupContent( const json& v ) {
static LSPHover parseHover( const json& result ) {
LSPHover ret;
if ( result.is_null() || !result.contains( "contains" ) )
if ( result.is_null() || result.empty() )
return ret;
if ( result.contains( MEMBER_RANGE ) )