Fix minor bugs and add language detection.

This commit is contained in:
2026-09-25 13:23:57 +01:00
parent 6711ecbaee
commit 8d6f7d323e
14 changed files with 230 additions and 90 deletions
+2
View File
@@ -20,6 +20,8 @@ struct BEd {
internal::functions::Function eof_op;
std::array<std::optional<internal::functions::Suffix>, 26> suffixes;
internal::theme::Theme theme;
std::unordered_map<std::string, std::string> extention_to_language;
std::unordered_map<std::string, std::string> filename_to_language;
std::unordered_map<std::string, internal::syntax::Language *> languages;
internal::io::IO io;
internal::vase::AppendStorage append{"/tmp"};