mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +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
Notes:
sideshowbarker
2024-07-17 16:23:42 +09:00
Author: https://github.com/itamar8910
Commit: 9cd27d1e15
Pull-request: https://github.com/SerenityOS/serenity/pull/13377
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