syntax: list keyword

This commit is contained in:
sfja 2025-09-23 17:07:27 +02:00
parent 20cbcf7963
commit 8c0ca091cc
2 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ if exists("b:current_syntax")
endif endif
syn keyword Keyword fn call return loop for break if let do syn keyword Keyword fn call return loop for break if let do list
syn keyword Operator and or not syn keyword Operator and or not
syn keyword Special null syn keyword Special null
syn keyword Boolean true false syn keyword Boolean true false

View File

@ -23,7 +23,7 @@
"patterns": [ "patterns": [
{ {
"name": "keyword.control.phi", "name": "keyword.control.phi",
"match": "\\b(fn|return|loop|for|break|if|do|call)\\b" "match": "\\b(fn|return|loop|for|break|if|do|call|list)\\b"
}, },
{ {
"name": "storage.type.phi", "name": "storage.type.phi",
@ -80,4 +80,4 @@
} }
}, },
"scopeName": "source.phi" "scopeName": "source.phi"
} }