mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
LanguageServers/Cpp: Add SemanticType::PreprocessorMacro
This adds a new semantic token type, PreprocessorMacro. Calls to preprocessor macros will now be highlighted when semantic highlighting is enabled in Hack Studio.
This commit is contained in:
parent
597ca68e2d
commit
9cd27d1e15
4 changed files with 18 additions and 5 deletions
|
@ -149,8 +149,8 @@ void ConnectionFromClient::get_tokens_info(String const& filename)
|
|||
return;
|
||||
}
|
||||
|
||||
auto token_info = m_autocomplete_engine->get_tokens_info(filename);
|
||||
async_tokens_info_result(move(token_info));
|
||||
auto tokens_info = m_autocomplete_engine->get_tokens_info(filename);
|
||||
async_tokens_info_result(move(tokens_info));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue