mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.1.0390: filetype: inko files are not recognized
Problem: filetype: inko files are not recognized Solution: Detect '*.inko' as ink filetype (Yorick Peterse) See: - https://github.com/inko-lang/inko.vim - https://inko-lang.org/ closes: #14699 Signed-off-by: Yorick Peterse <git@yorickpeterse.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
54e79157c5
commit
a01968448a
@@ -1103,6 +1103,9 @@ au BufNewFile,BufRead *.ini,*.INI setf dosini
|
|||||||
" SysV Inittab
|
" SysV Inittab
|
||||||
au BufNewFile,BufRead inittab setf inittab
|
au BufNewFile,BufRead inittab setf inittab
|
||||||
|
|
||||||
|
" Inko
|
||||||
|
au BufNewFile,BufRead *.inko setf inko
|
||||||
|
|
||||||
" Inno Setup
|
" Inno Setup
|
||||||
au BufNewFile,BufRead *.iss setf iss
|
au BufNewFile,BufRead *.iss setf iss
|
||||||
|
|
||||||
|
@@ -344,6 +344,7 @@ def s:GetFilenameChecks(): dict<list<string>>
|
|||||||
inform: ['file.inf', 'file.INF'],
|
inform: ['file.inf', 'file.INF'],
|
||||||
initng: ['/etc/initng/any/file.i', 'file.ii', 'any/etc/initng/any/file.i'],
|
initng: ['/etc/initng/any/file.i', 'file.ii', 'any/etc/initng/any/file.i'],
|
||||||
inittab: ['inittab'],
|
inittab: ['inittab'],
|
||||||
|
inko: ['file.inko'],
|
||||||
ipfilter: ['ipf.conf', 'ipf6.conf', 'ipf.rules'],
|
ipfilter: ['ipf.conf', 'ipf6.conf', 'ipf.rules'],
|
||||||
iss: ['file.iss'],
|
iss: ['file.iss'],
|
||||||
ist: ['file.ist', 'file.mst'],
|
ist: ['file.ist', 'file.mst'],
|
||||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
390,
|
||||||
/**/
|
/**/
|
||||||
389,
|
389,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user