mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-07 15:37:14 +02:00
runtime(karel): Add missing syntax items
Adds - 'OF' for the SELECT instruction - 'TO' and 'DOWNTO' for the FOR instruction closes: #20356 Signed-off-by: KnoP-01 <knosowski@graeffrobotics.de> Signed-off-by: Kirill Morozov <kirill@robotix.pro> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
8e7e5d5488
commit
1e45fb1a7e
@@ -1,6 +1,6 @@
|
||||
" Vim syntax file
|
||||
" Language: KAREL
|
||||
" Last Change: 2024-11-17
|
||||
" Last Change: 2026-05-28
|
||||
" Maintainer: Kirill Morozov <kirill@robotix.pro>
|
||||
" Credits: Jay Strybis for the initial implementation and Patrick Knosowski
|
||||
" for a couple of fixes.
|
||||
@@ -61,10 +61,10 @@ hi def link karelFunction Function
|
||||
syn keyword karelClause EVAL FROM IN WHEN WITH
|
||||
hi def link karelClause Keyword
|
||||
|
||||
syn keyword karelConditional IF THEN ELSE ENDIF SELECT ENDSELECT CASE
|
||||
syn keyword karelConditional IF THEN ELSE ENDIF SELECT ENDSELECT CASE OF
|
||||
hi def link karelConditional Conditional
|
||||
|
||||
syn keyword karelRepeat WHILE DO ENDWHILE FOR
|
||||
syn keyword karelRepeat WHILE DO ENDWHILE FOR TO DOWNTO
|
||||
hi def link karelRepeat Repeat
|
||||
|
||||
syn keyword karelProcedure ABORT_TASK ACT_SCREEN ACT_TBL ADD_BYNAMEPC ADD_DICT ADD_INTPC ADD_REALPC ADD_STRINGPC APPEND_NODE APPEND_QUEUE
|
||||
|
||||
Reference in New Issue
Block a user