mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
Initialize diagnostics when opening a document (#8873)
This commit is contained in:
parent
46ecc102ba
commit
41ca46cf8c
9 changed files with 231 additions and 158 deletions
|
@ -1795,7 +1795,6 @@ impl HighlightConfiguration {
|
|||
let mut best_index = None;
|
||||
let mut best_match_len = 0;
|
||||
for (i, recognized_name) in recognized_names.iter().enumerate() {
|
||||
let recognized_name = recognized_name;
|
||||
let mut len = 0;
|
||||
let mut matches = true;
|
||||
for (i, part) in recognized_name.split('.').enumerate() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue