patch 9.1.1343: filetype: IPython files are not recognized
Problem: filetype: IPython files are not recognized
(user202729)
Solution: detect *.ipy files as python filetype
fixes: #17163
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -632,7 +632,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
||||
pymanifest: ['MANIFEST.in'],
|
||||
pyret: ['file.arr'],
|
||||
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'],
|
||||
python: ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', '.python_history', '.jline-jython.history', 'file.ptl', 'file.pyi', 'SConstruct', 'file.ipy'],
|
||||
ql: ['file.ql', 'file.qll'],
|
||||
qml: ['file.qml', 'file.qbs'],
|
||||
qmldir: ['qmldir'],
|
||||
|
||||
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1343,
|
||||
/**/
|
||||
1342,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user