# HG changeset patch # User Christian Brabandt # Date 1714648520 -7200 # Node ID f49d3a98d4a75ab161ee0e4ff886ca9a5434ebc0 # Parent 2307bd16292058cf069a370c88216e8b1ab1b118 patch 9.1.0390: filetype: inko files are not recognized Commit: https://github.com/vim/vim/commit/a01968448a0bdf04d9e4a822d32732a304849238 Author: Yorick Peterse Date: Thu May 2 13:11:44 2024 +0200 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 Signed-off-by: Christian Brabandt diff --git a/runtime/filetype.vim b/runtime/filetype.vim --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1103,6 +1103,9 @@ au BufNewFile,BufRead *.ini,*.INI setf " SysV Inittab au BufNewFile,BufRead inittab setf inittab +" Inko +au BufNewFile,BufRead *.inko setf inko + " Inno Setup au BufNewFile,BufRead *.iss setf iss diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -344,6 +344,7 @@ def s:GetFilenameChecks(): dict