commit 90ed7ee1123d128b817de5ff154dcd963ca1af3f
parent aaeb1a8cd18741ff17fd030eb05a132bb9f99430
Author: Christian Clason <c.clason@uni-graz.at>
Date: Wed, 9 Aug 2023 22:34:39 +0200
vim-patch:44ff25d5243b (#24625)
* vim-patch:44ff25d5243b
PyPA manifest files are not recognized (vim/vim#12707)
Problem: PyPA manifest files are not recognized.
Solution: Add a pattern to match PyPA manifest files.
https://github.com/vim/vim/commit/44ff25d5243b6d4f7ee88b46d1254aec0b27f4eb
Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua
@@ -1402,6 +1402,7 @@ local filename = {
['/etc/protocols'] = 'protocols',
INDEX = detect.psf,
INFO = detect.psf,
+ ['MANIFEST.in'] = 'pymanifest',
['.pythonstartup'] = 'python',
['.pythonrc'] = 'python',
SConstruct = 'python',
diff --git a/test/old/testdir/test_filetype.vim b/test/old/testdir/test_filetype.vim
@@ -504,6 +504,7 @@ func s:GetFilenameChecks() abort
\ 'psl': ['file.psl'],
\ 'pug': ['file.pug'],
\ 'puppet': ['file.pp'],
+ \ 'pymanifest': ['MANIFEST.in'],
\ 'pyret': ['file.arr'],
\ 'pyrex': ['file.pyx', 'file.pxd'],
\ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],