diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-12-10 02:15:41 +0100 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-12-11 15:13:09 +0100 |
| commit | 376c62bc63870fa1121548fc8b53271c21ed79a6 (patch) | |
| tree | f0234c2944af4723197225c64521c83707ffdbb5 /src/core-commands.h | |
| parent | a886813f86f88b4b1cc874a81229b7b59d0d463a (diff) | |
SciTECO lexer: braces and two-character operators are now actually styled as operatorsHEADmaster-fmsbw-cimaster
* For consistency with other lexers, like the C/C++ lexer.
* `^*`, `^/` and `^#` are also true operators and shouldn't be styled
as regular commands.
This required introducing a new operator style (3).
Diffstat (limited to 'src/core-commands.h')
| -rw-r--r-- | src/core-commands.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core-commands.h b/src/core-commands.h index cb28dce..4cc8747 100644 --- a/src/core-commands.h +++ b/src/core-commands.h @@ -125,6 +125,7 @@ TECO_DECLARE_STATE(teco_state_insert_indent); teco_state_t *teco_state_start_input(teco_machine_main_t *ctx, gunichar chr, GError **error); TECO_DECLARE_STATE(teco_state_start); +TECO_DECLARE_STATE(teco_state_control); TECO_DECLARE_STATE(teco_state_escape); TECO_DECLARE_STATE(teco_state_ctlc); TECO_DECLARE_STATE(teco_state_ctlc_control); |
