diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-13 18:28:54 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-12-13 18:28:54 +0300 |
commit | 6dcb454e8dba0593b39752895addff84fea7516e (patch) | |
tree | 70bbf0671d750c64edec5e44aabe52cf5753c0c3 | |
parent | cb1cb619cd6cc6ab0c2bc3ebedfe50d01db351b7 (diff) | |
download | sciteco-6dcb454e8dba0593b39752895addff84fea7516e.tar.gz |
SciTECO lexing: fixed styling of commands after dollar or escape (when used as a separate command)
-rw-r--r-- | src/core-commands.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core-commands.c b/src/core-commands.c index 89f86da..4ee0c5c 100644 --- a/src/core-commands.c +++ b/src/core-commands.c @@ -2198,7 +2198,8 @@ TECO_DEFINE_STATE_CASEINSENSITIVE(teco_state_escape, * when it comes to function key macro masking. */ .is_start = TRUE, - .keymacro_mask = TECO_KEYMACRO_MASK_START | TECO_KEYMACRO_MASK_CASEINSENSITIVE + .keymacro_mask = TECO_KEYMACRO_MASK_START | TECO_KEYMACRO_MASK_CASEINSENSITIVE, + .style = SCE_SCITECO_COMMAND ); /*$ EF close |