summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-03-02 10:44:11 -0500
committerpommicket <pommicket@gmail.com>2023-03-02 10:44:11 -0500
commiteddcc7e8c6c02970ac658024b3a8c6b5f416c8a5 (patch)
tree542e3eb5536cf4abb9592a88ff779fc0d2763103 /ted.h
parent595cc50b7985ec67c49c6e2ffc649cb04692a318 (diff)
comment-start and comment-end settings
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h8
1 files changed, 4 insertions, 4 deletions
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