diff options
author | pommicket <pommicket@gmail.com> | 2023-03-02 10:44:11 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-03-02 10:44:11 -0500 |
commit | eddcc7e8c6c02970ac658024b3a8c6b5f416c8a5 (patch) | |
tree | 542e3eb5536cf4abb9592a88ff779fc0d2763103 /ted.h | |
parent | 595cc50b7985ec67c49c6e2ffc649cb04692a318 (diff) |
comment-start and comment-end settings
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |