formatter: add tree-sitter dependency and commit early draft work on a proper code formatter (#2536)

This commit is contained in:
Tyler Wilding
2023-04-24 22:46:55 -05:00
committed by GitHub
parent 83f43b7153
commit 0ffb912a04
385 changed files with 71427 additions and 28 deletions
+1
View File
@@ -20,4 +20,5 @@ std::string diff(const std::string& lhs, const std::string& rhs);
std::vector<std::string> split(const ::std::string& str, char delimiter = '\n');
std::string join(const std::vector<std::string>& strs, const std::string& join_with);
std::vector<std::string> regex_get_capture_groups(const std::string& str, const std::string& regex);
bool replace(std::string& str, const std::string& from, const std::string& to);
} // namespace str_util