vim-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: vim/vim#17163

https://github.com/vim/vim/commit/e380b5cbba23869b07e17cfc7f4602e2fe681945

Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Clason
2025-04-25 10:15:45 +02:00
committed by Christian Clason
parent 533ce0e807
commit 4ddd31de14
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1003,6 +1003,7 @@ local extension = {
py = 'python',
pyi = 'python',
ptl = 'python',
ipy = 'python',
ql = 'ql',
qll = 'ql',
qml = 'qml',
+1 -1
View File
@@ -629,7 +629,7 @@ func s:GetFilenameChecks() abort
\ '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'],