runtime(karel): Add missing syntax items

Commit: 
https://github.com/vim/vim/commit/1e45fb1a7eaca88bde4acbb981ae890ff1605044
Author: KnoP-01 <[email protected]>
Date:   Thu May 28 21:32:25 2026 +0000

    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 <[email protected]>
    Signed-off-by: Kirill Morozov <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/runtime/syntax/karel.vim b/runtime/syntax/karel.vim
index 85c78529e..a9cdc8277 100644
--- a/runtime/syntax/karel.vim
+++ b/runtime/syntax/karel.vim
@@ -1,6 +1,6 @@
 " Vim syntax file
 " Language:    KAREL
-" Last Change: 2024-11-17
+" Last Change: 2026-05-28
 " Maintainer:  Kirill Morozov <[email protected]>
 " 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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1wT124-00Czf7-Di%40256bit.org.

Raspunde prin e-mail lui