diff options
Diffstat (limited to 'syntax.c')
-rw-r--r-- | syntax.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2214,3 +2214,11 @@ void syntax_register_language(const LanguageInfo *info) { lsp_register_language(info->id, info->lsp_identifier); } + +void syntax_quit(void) { + arr_foreach_ptr(language_names, LanguageName, lname) { + free(lname->name); + } + arr_clear(language_names); + arr_clear(syntax_highlighters); +} |