From 376c62bc63870fa1121548fc8b53271c21ed79a6 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 10 Dec 2025 02:15:41 +0100 Subject: SciTECO lexer: braces and two-character operators are now actually styled as operators * 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). --- src/core-commands.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core-commands.h') 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); -- cgit v1.2.3