To: vim_dev@googlegroups.com Subject: Patch 9.0.1174 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1174 Problem: Smali files are not recognized. Solution: Add a pattern for Smali files. (Amaan Qureshi, closes #11801) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1173/runtime/filetype.vim 2023-01-09 20:07:56.713533250 +0000 --- runtime/filetype.vim 2023-01-10 19:55:17.679036547 +0000 *************** *** 1897,1902 **** --- 1897,1905 ---- au BufNewFile,BufRead .slrnrc setf slrnrc au BufNewFile,BufRead *.score setf slrnsc + " Smali + au BufNewFile,BufRead *.smali setf smali + " Smalltalk au BufNewFile,BufRead *.st setf st *** ../vim-9.0.1173/src/testdir/test_filetype.vim 2023-01-09 20:07:56.713533250 +0000 --- src/testdir/test_filetype.vim 2023-01-10 19:57:10.470527947 +0000 *************** *** 524,529 **** --- 524,530 ---- \ 'slrnrc': ['.slrnrc'], \ 'slrnsc': ['file.score'], \ 'sm': ['sendmail.cf'], + \ 'smali': ['file.smali'], \ 'smarty': ['file.tpl'], \ 'smcl': ['file.hlp', 'file.ihlp', 'file.smcl'], \ 'smith': ['file.smt', 'file.smith'], *** ../vim-9.0.1173/src/version.c 2023-01-10 19:17:08.078354902 +0000 --- src/version.c 2023-01-10 19:56:28.246709133 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1174, /**/ -- Sometimes you can protect millions of dollars in your budget simply by buying a bag of cookies, dropping it on the budget anylyst's desk, and saying something deeply personal such as "How was your weekend, big guy?" (Scott Adams - The Dilbert principle) /// 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 ///