Skip to content

Commit cde1f87

Browse files
amaanqbrammool
authored andcommitted
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)
1 parent ff226d4 commit cde1f87

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

runtime/filetype.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2109,6 +2109,9 @@ au BufNewFile,BufRead tags setf tags
21092109
" TAK
21102110
au BufNewFile,BufRead *.tak setf tak
21112111

2112+
" Unx Tal
2113+
au BufNewFile,BufRead *.tal setf tal
2114+
21122115
" Task
21132116
au BufRead,BufNewFile {pending,completed,undo}.data setf taskdata
21142117
au BufRead,BufNewFile *.task setf taskedit

src/testdir/test_filetype.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,7 @@ let s:filename_checks = {
581581
\ 'systemverilog': ['file.sv', 'file.svh'],
582582
\ 'tags': ['tags'],
583583
\ 'tak': ['file.tak'],
584+
\ 'tal': ['file.tal'],
584585
\ 'taskdata': ['pending.data', 'completed.data', 'undo.data'],
585586
\ 'taskedit': ['file.task'],
586587
\ 'tcl': ['file.tcl', 'file.tm', 'file.tk', 'file.itcl', 'file.itk', 'file.jacl', '.tclshrc', 'tclsh.rc', '.wishrc'],

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -695,6 +695,8 @@ static char *(features[]) =
695695

696696
static int included_patches[] =
697697
{ /* Add new patch number below this line */
698+
/**/
699+
1394,
698700
/**/
699701
1393,
700702
/**/

0 commit comments

Comments
 (0)