To: vim_dev@googlegroups.com Subject: Patch 9.0.1090 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1090 Problem: FHIR Shorthand files are not recognized. Solution: Add a pattern to detect FSH files. (Matthew Gramigna, closes #11738) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1089/runtime/filetype.vim 2022-12-19 20:42:45.884055099 +0000 --- runtime/filetype.vim 2022-12-23 13:04:35.636990042 +0000 *************** *** 701,706 **** --- 701,709 ---- " 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 *** ../vim-9.0.1089/src/testdir/test_filetype.vim 2022-12-19 20:42:45.884055099 +0000 --- src/testdir/test_filetype.vim 2022-12-23 13:04:35.636990042 +0000 *************** *** 202,207 **** --- 202,208 ---- \ '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'], *** ../vim-9.0.1089/src/version.c 2022-12-23 12:17:26.909264456 +0000 --- src/version.c 2022-12-23 13:08:31.812111419 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1090, /**/ -- MARTHA'S WAY: Don't throw out all that leftover wine. Freeze into ice cubes for future use in casseroles and sauces. MY WAY: What leftover wine? /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///