mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
ecode: Minor fixes.
This commit is contained in:
@@ -1791,7 +1791,7 @@ static std::vector<URI> switchHeaderSourceName( const URI& uri ) {
|
||||
} else if ( FileSystem::fileExtension( uri.getPath() ) == "hh" ) {
|
||||
return { basePath + ".cc" };
|
||||
} else if ( FileSystem::fileExtension( uri.getPath() ) == "h" ) {
|
||||
return { basePath + ".c" };
|
||||
return { basePath + ".c", basePath + ".cpp" };
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
@@ -188,8 +188,8 @@ static std::string semanticTokenTypeToSyntaxType( const std::string& type,
|
||||
case SemanticTokenTypes::Member:
|
||||
return "function";
|
||||
case SemanticTokenTypes::Macro:
|
||||
case SemanticTokenTypes::Keyword:
|
||||
return "keyword2";
|
||||
case SemanticTokenTypes::Keyword:
|
||||
case SemanticTokenTypes::Modifier:
|
||||
return "keyword";
|
||||
case SemanticTokenTypes::Comment:
|
||||
|
||||
Reference in New Issue
Block a user