]> granicus.if.org Git - vim/commitdiff
patch 9.0.0942: Workflow Description Language files are not recognized v9.0.0942
authorMatt Dunford <zenmatic@gmail.com>
Thu, 24 Nov 2022 20:01:18 +0000 (20:01 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Nov 2022 20:01:18 +0000 (20:01 +0000)
Problem:    Workflow Description Language files are not recognized.
Solution:   Add a pattern for the "wdl" filetype. (Matt Dunford,
            closes #11611)

runtime/filetype.vim
src/testdir/test_filetype.vim
src/version.c

index d8b0c11bc8e9c8a33bfe94dc4c4ebb781f02b22b..2013a8697ed550d9f1ecbf042752f33d4374c6df 100644 (file)
@@ -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
index 765ee892071286312f73b81f6c5c2b4b32fdedbe..d2447361d57e4ef111b4dad55e13c5c10ea26b5c 100644 (file)
@@ -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'],
index 1568691ec45ad90c7b4b01d151d1a638b68c2ed5..d86bf0abb4aa436550980a377642fbbce756bcc9 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    942,
 /**/
     941,
 /**/