From cde1f8714ed2c046aa770c46229e781380122bd7 Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Wed, 8 Mar 2023 19:55:50 +0000 Subject: patch 9.0.1394: Unx Tal files are not recognized Problem: Unx Tal files are not recognized. Solution: Add a pattern for Unx Tal files. (Amaan Qureshi, closes #12117) --- runtime/filetype.vim | 3 +++ src/testdir/test_filetype.vim | 1 + src/version.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 59cb06c3c..b5cae1b5a 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2109,6 +2109,9 @@ au BufNewFile,BufRead tags setf tags " TAK au BufNewFile,BufRead *.tak setf tak +" Unx Tal +au BufNewFile,BufRead *.tal setf tal + " Task au BufRead,BufNewFile {pending,completed,undo}.data setf taskdata au BufRead,BufNewFile *.task setf taskedit diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 042c25df2..fa09482f1 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -581,6 +581,7 @@ let s:filename_checks = { \ 'systemverilog': ['file.sv', 'file.svh'], \ 'tags': ['tags'], \ 'tak': ['file.tak'], + \ 'tal': ['file.tal'], \ 'taskdata': ['pending.data', 'completed.data', 'undo.data'], \ 'taskedit': ['file.task'], \ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'], diff --git a/src/version.c b/src/version.c index 3a2ff57c9..34fe679d6 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1394, /**/ 1393, /**/ -- cgit v1.2.1