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.

44ff25d524

Co-authored-by: ObserverOfTime <chronobserver@disroot.org>
This commit is contained in:
Christian Clason
2023-08-09 22:34:39 +02:00
committed by GitHub
parent aaeb1a8cd1
commit 90ed7ee112
2 changed files with 2 additions and 0 deletions

View File

@@ -1402,6 +1402,7 @@ local filename = {
['/etc/protocols'] = 'protocols',
INDEX = detect.psf,
INFO = detect.psf,
['MANIFEST.in'] = 'pymanifest',
['.pythonstartup'] = 'python',
['.pythonrc'] = 'python',
SConstruct = 'python',

View File

@@ -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'],