cargo fmt

pull/261/head
Wilfred Hughes 2022-04-14 18:46:16 +07:00
parent 1a93162740
commit 8a1484289f
1 changed files with 12 additions and 3 deletions

@ -639,13 +639,22 @@ fn tree_highlights(
if let Some(idx) = config.highlight_query.capture_index_for_name("keyword") {
keyword_ish_capture_ids.push(idx);
}
if let Some(idx) = config.highlight_query.capture_index_for_name("keyword.function") {
if let Some(idx) = config
.highlight_query
.capture_index_for_name("keyword.function")
{
keyword_ish_capture_ids.push(idx);
}
if let Some(idx) = config.highlight_query.capture_index_for_name("keyword.operator") {
if let Some(idx) = config
.highlight_query
.capture_index_for_name("keyword.operator")
{
keyword_ish_capture_ids.push(idx);
}
if let Some(idx) = config.highlight_query.capture_index_for_name("keyword.return") {
if let Some(idx) = config
.highlight_query
.capture_index_for_name("keyword.return")
{
keyword_ish_capture_ids.push(idx);
}
if let Some(idx) = config.highlight_query.capture_index_for_name("operator") {