From a33cb4190b80e94efe25c1d931780f08e956e2ef Mon Sep 17 00:00:00 2001 From: Miguel Palhas Date: Tue, 8 Oct 2024 16:34:53 +0100 Subject: [PATCH] code review --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index f2d54c4..5e08701 100644 --- a/main.py +++ b/main.py @@ -662,7 +662,7 @@ class TodoParser(object): if value.lower() in attributes: for syntax_details in self.syntax_dict: if syntax_details['language'] == language_name: - # TODO: this is a hotfix to make it temporarily work for solidity regardless of linguist's lack of support (ace_mode == 'text') + # TODO: this is a hotfix to make it temporarily work for solidity. Currently using it in my own project. happy to implement a proper solution if possible if language_name == "Solidity": return syntax_details['markers'], "solidity" return syntax_details['markers'], self.languages_dict[language_name]['ace_mode']