mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
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
e380b5cbba
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:

committed by
Christian Clason

parent
533ce0e807
commit
4ddd31de14
@@ -1003,6 +1003,7 @@ local extension = {
|
||||
py = 'python',
|
||||
pyi = 'python',
|
||||
ptl = 'python',
|
||||
ipy = 'python',
|
||||
ql = 'ql',
|
||||
qll = 'ql',
|
||||
qml = 'qml',
|
||||
|
@@ -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'],
|
||||
|
Reference in New Issue
Block a user