PyPA manifest files are not recognized (#12707)
Problem: PyPA manifest files are not recognized. Solution: Add a pattern to match PyPA manifest files.
This commit is contained in:
@ -1679,6 +1679,9 @@ au BufNewFile,BufRead *.pk setf poke
|
|||||||
" Protocols
|
" Protocols
|
||||||
au BufNewFile,BufRead */etc/protocols setf protocols
|
au BufNewFile,BufRead */etc/protocols setf protocols
|
||||||
|
|
||||||
|
" PyPA manifest files
|
||||||
|
au BufNewFile,BufRead MANIFEST.in setf pymanifest
|
||||||
|
|
||||||
" Pyret
|
" Pyret
|
||||||
au BufNewFile,BufRead *.arr setf pyret
|
au BufNewFile,BufRead *.arr setf pyret
|
||||||
|
|
||||||
|
|||||||
@ -544,6 +544,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
psl: ['file.psl'],
|
psl: ['file.psl'],
|
||||||
pug: ['file.pug'],
|
pug: ['file.pug'],
|
||||||
puppet: ['file.pp'],
|
puppet: ['file.pp'],
|
||||||
|
pymanifest: ['MANIFEST.in'],
|
||||||
pyret: ['file.arr'],
|
pyret: ['file.arr'],
|
||||||
pyrex: ['file.pyx', 'file.pxd'],
|
pyrex: ['file.pyx', 'file.pxd'],
|
||||||
python: ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
|
python: ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'],
|
||||||
|
|||||||
Reference in New Issue
Block a user