]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0897: filetype: pyrex files are not detected v9.1.0897
authoruser202729 <25191436+user202729@users.noreply.github.com>
Sat, 30 Nov 2024 10:09:49 +0000 (11:09 +0100)
committerChristian Brabandt <cb@256bit.org>
Sat, 30 Nov 2024 10:09:49 +0000 (11:09 +0100)
commitaa16b30552f0c6a00dcc761e3954cd5266bf106a
tree4a3348cf80a03cb9de199698a163a2ebbb63d209
parentdd21c8962680ba726ac1bf78ae106a4b6071450f
patch 9.1.0897: filetype: pyrex files are not detected

Problem:  filetype: pyrex files are not detected
Solution: detect '*.pxi' and '*.pyx+' as pyrex filetype
          (user202729)

References:
https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#cython-file-types
https://www.csse.canterbury.ac.nz/greg.ewing/python/Pyrex/version/Doc/Manual/using_with_c++.html

closes: #16136

Signed-off-by: user202729 <25191436+user202729@users.noreply.github.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c