aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-11-30 11:17:59 +0100
committerChristian Clason <ch.clason+github@icloud.com>2024-11-30 11:41:23 +0100
commit4426a326e2441326e280a0478f83128e09305806 (patch)
tree22eeeea6aa08abe3d5913351156aae97b2d65cc0 /test
parentfd865fbd9229ddd4856d8913b0e452deb0bba872 (diff)
downloadrneovim-4426a326e2441326e280a0478f83128e09305806.tar.gz
rneovim-4426a326e2441326e280a0478f83128e09305806.tar.bz2
rneovim-4426a326e2441326e280a0478f83128e09305806.zip
vim-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: vim/vim#16136 https://github.com/vim/vim/commit/aa16b30552f0c6a00dcc761e3954cd5266bf106a Co-authored-by: user202729 <25191436+user202729@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r--test/old/testdir/test_filetype.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
index 58064ea412..06ac59de20 100644
--- a/test/old/testdir/test_filetype.vim
+++ b/test/old/testdir/test_filetype.vim
@@ -610,7 +610,7 @@ func s:GetFilenameChecks() abort
\ 'purescript': ['file.purs'],
\ 'pymanifest': ['MANIFEST.in'],
\ 'pyret': ['file.arr'],
- \ 'pyrex': ['file.pyx', 'file.pxd'],
+ \ 'pyrex': ['file.pyx', 'file.pxd', 'file.pxi', 'file.pyx+'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', '.python_history', '.jline-jython.history', 'file.ptl', 'file.pyi', 'SConstruct'],
\ 'ql': ['file.ql', 'file.qll'],
\ 'qml': ['file.qml', 'file.qbs'],