aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-06 08:20:00 +0000
committerBlaž Hrastnik2021-05-06 08:20:00 +0000
commitfd4fd12fa3dd565b56edb395bd625b0d2ec8ad46 (patch)
tree6c6ecf7777cb9eb7d9943122073a8a8e950abcbb /helix-core/src
parentba970054957238cb682ae3be022b675131beb6f8 (diff)
clippy lint
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 6e11e9b6..dbeed45c 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -841,7 +841,7 @@ impl HighlightConfiguration {
}
let highlight_indices = vec![None; query.capture_names().len()];
- Ok(HighlightConfiguration {
+ Ok(Self {
language,
query,
combined_injections_query,