Files
zyedidia.micro/internal
Dmytro Maluka 13483602d5 UpdateRules: fix foundDef logic
The original meaning of foundDef was: "we already found the final syntax
definition in a user's custom syntax file". After introducing signatures
its meaning became: "we found some potential syntax definition in a
user's custom syntax file, but we don't know yet if it's the final one".
This makes the code confusing and actually buggy.

At least one bug is that if we found some potential filename matches in
the user's custom syntax files, we don't search for more matches in the
built-in syntax files. Which is wrong: we should keep searching for as
many potential matches as possible, in both user's and built-in syntax
files, to select the best one among them.

Fix that by restoring the original meaning of foundDef and updating the
logic accordingly.
2024-03-24 04:47:04 +01:00
..
2024-03-24 04:47:04 +01:00
2024-03-14 03:10:31 +01:00
2024-03-14 04:53:56 +01:00
2023-09-08 23:27:39 -07:00
2024-03-14 03:10:31 +01:00