mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
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:
@@ -1402,6 +1402,7 @@ local filename = {
|
||||
['/etc/protocols'] = 'protocols',
|
||||
INDEX = detect.psf,
|
||||
INFO = detect.psf,
|
||||
['MANIFEST.in'] = 'pymanifest',
|
||||
['.pythonstartup'] = 'python',
|
||||
['.pythonrc'] = 'python',
|
||||
SConstruct = 'python',
|
||||
|
@@ -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'],
|
||||
|
Reference in New Issue
Block a user