]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(python): fix 'type' syntax highlighting
authorJon Parise <jon@indelible.org>
Thu, 25 Sep 2025 19:08:14 +0000 (19:08 +0000)
committerChristian Brabandt <cb@256bit.org>
Thu, 25 Sep 2025 19:08:14 +0000 (19:08 +0000)
commit900c747da393b031f3347428fb640224ac2f5442
tree893b3a9bf7d6d8ebe8f9ed83ee05d1cc23f15d42
parentef818ae4448726b91c31e24406a554686dea19f5
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>
runtime/syntax/python.vim
runtime/syntax/testdir/dumps/python_type_00.dump [new file with mode: 0644]
runtime/syntax/testdir/input/python_type.py [new file with mode: 0644]