From c9207d5d79310bd4628ce46d8db588fac17878a0 Mon Sep 17 00:00:00 2001 From: mgramigna Date: Fri, 23 Dec 2022 13:18:44 +0000 Subject: [PATCH] patch 9.0.1090: FHIR Shorthand files are not recognized Problem: FHIR Shorthand files are not recognized. Solution: Add a pattern to detect FSH files. (Matthew Gramigna, closes #11738) --- 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 cbbe87504..81db06ee2 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -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 diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim index d3ca2ae4b..a99aa3228 100644 --- a/src/testdir/test_filetype.vim +++ b/src/testdir/test_filetype.vim @@ -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'], diff --git a/src/version.c b/src/version.c index 71029ae47..d07e657c0 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 */ +/**/ + 1090, /**/ 1089, /**/ -- 2.40.0