From eddcc7e8c6c02970ac658024b3a8c6b5f416c8a5 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 2 Mar 2023 10:44:11 -0500 Subject: comment-start and comment-end settings --- ted.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ted.h') diff --git a/ted.h b/ted.h index 35c35b0..82b123d 100644 --- a/ted.h +++ b/ted.h @@ -262,6 +262,10 @@ typedef struct { u8 tags_max_depth; GlRcSAB *bg_shader; GlRcTexture *bg_texture; + /// string used to start comments + char comment_start[16]; + /// string used to end comments + char comment_end[16]; /// Comma-separated list of file names which identify the project root char root_identifiers[4096]; /// LSP server command @@ -1496,10 +1500,6 @@ bool language_is_valid(Language language); Language language_from_str(const char *str); /// convert language to string const char *language_to_str(Language language); -/// string which should be put before comments in the given language -const char *language_comment_start(Language l); -/// string which should be put after comments in the given language -const char *language_comment_end(Language l); /// get the color setting associated with the given syntax highlighting type ColorSetting syntax_char_type_to_color_setting(SyntaxCharType t); /// returns ')' for '(', etc., or 0 if c is not an opening bracket -- cgit v1.2.3