From: Matt Dunford Date: Thu, 24 Nov 2022 20:01:18 +0000 (+0000) Subject: patch 9.0.0942: Workflow Description Language files are not recognized X-Git-Tag: v9.0.0942 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f60bdc3417a56a1f69e001a7ec210b92d5b0f2e1;p=vim patch 9.0.0942: Workflow Description Language files are not recognized Problem: Workflow Description Language files are not recognized. Solution: Add a pattern for the "wdl" filetype. (Matt Dunford, closes #11611) --- diff --git a/runtime/filetype.vim b/runtime/filetype.vim index d8b0c11bc..2013a8697 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2349,6 +2349,9 @@ au BufNewFile,BufRead fglrxrc setf xml " Web Services Description Language (WSDL) au BufNewFile,BufRead *.wsdl setf xml +" Workflow Description Language (WDL) +au BufNewFile,BufRead *.wdl setf wdl + " XLIFF (XML Localisation Interchange File Format) is also XML au BufNewFile,BufRead *.xlf setf xml au BufNewFile,BufRead *.xliff setf xml diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index 765ee8920..d2447361d 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -623,6 +623,7 @@ let s:filename_checks = { \ 'vroom': ['file.vroom'], \ 'vue': ['file.vue'], \ 'wast': ['file.wast', 'file.wat'], + \ 'wdl': ['file.wdl'], \ 'webmacro': ['file.wm'], \ 'wget': ['.wgetrc', 'wgetrc'], \ 'wget2': ['.wget2rc', 'wget2rc'], diff --git a/src/version.c b/src/version.c index 1568691ec..d86bf0abb 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 */ +/**/ + 942, /**/ 941, /**/