Fix Objective-C highlighter.

Added Objective-C++ highlighter (SpartanJ/ecode#616).
Replaced "Treat .h file as C++" in favor of "Treat .h files as..." with multiple options, including auto-detection (SpartanJ/ecode#614).
Refresh semantic-highlighting after syntax highlighter change.
This commit is contained in:
Martín Lucas Golini
2025-08-17 16:56:12 -03:00
parent cb9f6420ba
commit dbb36cdcf4
23 changed files with 713 additions and 94 deletions

View File

@@ -103,6 +103,10 @@ void LSPDocumentClient::onDocumentClosed( TextDocument* ) {
void LSPDocumentClient::onDocumentDirtyOnFileSystem( TextDocument* ) {}
void LSPDocumentClient::onDocumentSyntaxDefinitionChange( const SyntaxDefinition& ) {
requestSemanticHighlightingDelayed( true );
}
void LSPDocumentClient::onDocumentMoved( TextDocument* ) {
refreshTag();
}