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 /development.md | |
parent | 595cc50b7985ec67c49c6e2ffc649cb04692a318 (diff) |
comment-start and comment-end settings
Diffstat (limited to 'development.md')
-rw-r--r-- | development.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/development.md b/development.md index ea3d0f5..80b7c3b 100644 --- a/development.md +++ b/development.md @@ -72,11 +72,12 @@ go to `command.c` and add the name of the command to the `command_names` array, and implement the command in the `command_execute` function. -## Adding languages +## Adding (built-in) languages -Add a new member to the `Language` enum in `base.h`. -After that you should get a bunch of compiler warnings and errors -which will tell you what you need to add. +Add a new member to the `Language` enum in `ted.h`. +Update `syntax_register_builtin_languages` accordingly. +Make sure to define `comment-start` and `comment-end` +for the language in `ted.cfg`. ### Syntax highlighting |