]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1090: FHIR Shorthand files are not recognized v9.0.1090
authormgramigna <mgramigna@mitre.org>
Fri, 23 Dec 2022 13:18:44 +0000 (13:18 +0000)
committerBram Moolenaar <Bram@vim.org>
Fri, 23 Dec 2022 13:18:44 +0000 (13:18 +0000)
Problem:    FHIR Shorthand files are not recognized.
Solution:   Add a pattern to detect FSH files. (Matthew Gramigna,
            closes #11738)

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

index cbbe87504efd76db35b7fa7339aafd3c67ade6c1..81db06ee2bd75da6efd542bc1d13854ae1c93ce4 100644 (file)
@@ -701,6 +701,9 @@ au BufRead,BufNewFile *.fusion                      setf fusion
 " F# or Forth
 au BufNewFile,BufRead *.fs                     call dist#ft#FTfs()
 
+" FHIR Shorthand (FSH)
+au BufNewFile,BufRead *.fsh                    setf fsh
+
 " F#
 au BufNewFile,BufRead *.fsi,*.fsx              setf fsharp
 
index d3ca2ae4bbc4dd0047e1e3d81fc82cf38592ed93..a99aa322870279ccdf3501286d74b2c9afadb990 100644 (file)
@@ -202,6 +202,7 @@ let s:filename_checks = {
     \ 'fpcmake': ['file.fpc'],
     \ 'framescript': ['file.fsl'],
     \ 'freebasic': ['file.fb'],
+    \ 'fsh': ['file.fsh'],
     \ 'fsharp': ['file.fs', 'file.fsi', 'file.fsx'],
     \ 'fstab': ['fstab', 'mtab'],
     \ 'fusion': ['file.fusion'],
index 71029ae47809b4d26755a3b23e95313d11e9f6c0..d07e657c00d0560a94469fc1e1e81d75694b0552 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1090,
 /**/
     1089,
 /**/