runtime(python): fix 'type' syntax highlighting

The previous patterns unintentionally highlighted words like 'typename'.

addresses: https://github.com/vim/vim/pull/18090#issuecomment-3333025523
closes: #18394

Signed-off-by: Jon Parise <jon@indelible.org>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jon Parise
2025-09-25 19:08:14 +00:00
committed by Christian Brabandt
parent ef818ae444
commit 900c747da3
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,8 @@
# Builtin
type()
# Statement
type Point = tuple[float, float]
# Should not match
typename = ''