mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 11:25:33 +00:00
vim-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: vim/vim#14699
a01968448a
Co-authored-by: Yorick Peterse <git@yorickpeterse.com>
This commit is contained in:
@@ -545,6 +545,7 @@ local extension = {
|
|||||||
inf = 'inform',
|
inf = 'inform',
|
||||||
INF = 'inform',
|
INF = 'inform',
|
||||||
ii = 'initng',
|
ii = 'initng',
|
||||||
|
inko = 'inko',
|
||||||
inp = detect.inp,
|
inp = detect.inp,
|
||||||
ms = detect_seq(detect.nroff, 'xmath'),
|
ms = detect_seq(detect.nroff, 'xmath'),
|
||||||
iss = 'iss',
|
iss = 'iss',
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ func s:GetFilenameChecks() abort
|
|||||||
\ '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'],
|
||||||
|
|||||||
Reference in New Issue
Block a user