To: vim_dev@googlegroups.com Subject: Patch 9.0.1422 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1422 Problem: Sage files are not recognized. Solution: Add a pattern for Sage files. (Amaan Qureshi, closes #12176) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1421/runtime/filetype.vim 2023-03-21 21:28:03.229212611 +0000 --- runtime/filetype.vim 2023-03-21 21:31:14.168865409 +0000 *************** *** 1811,1816 **** --- 1811,1819 ---- " S-lang (or shader language, or SmallLisp) au BufNewFile,BufRead *.sl setf slang + " Sage + au BufNewFile,BufRead *.sage setf sage + " Samba config au BufNewFile,BufRead smb.conf setf samba *** ../vim-9.0.1421/src/testdir/test_filetype.vim 2023-03-21 21:28:03.229212611 +0000 --- src/testdir/test_filetype.vim 2023-03-21 21:29:56.976989176 +0000 *************** *** 540,545 **** --- 540,546 ---- \ 'skill': ['file.il', 'file.ils', 'file.cdf'], \ 'cdc': ['file.cdc'], \ 'slang': ['file.sl'], + \ 'sage': ['file.sage'], \ 'slice': ['file.ice'], \ 'slpconf': ['/etc/slp.conf', 'any/etc/slp.conf'], \ 'slpreg': ['/etc/slp.reg', 'any/etc/slp.reg'], *** ../vim-9.0.1421/src/version.c 2023-03-21 21:28:03.233212600 +0000 --- src/version.c 2023-03-21 21:30:26.660939158 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1422, /**/ -- Back up my hard drive? I can't find the reverse switch! /// 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 ///