To: vim_dev@googlegroups.com Subject: Patch 9.0.1230 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.1230 Problem: Apache thrift files are not recognized. Solution: Add a pattern for thrift files. (Amaan Qureshi, closes #11859) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1229/runtime/filetype.vim 2023-01-22 13:10:35.605050971 +0000 --- runtime/filetype.vim 2023-01-22 18:13:39.054052668 +0000 *************** *** 2106,2111 **** --- 2106,2114 ---- " TeX configuration au BufNewFile,BufRead texmf.cnf setf texmf + " Thrift (Apache) + au BufNewFile,BufRead *.thrift setf thrift + " Tidy config au BufNewFile,BufRead .tidyrc,tidyrc,tidy.conf setf tidy *** ../vim-9.0.1229/src/testdir/test_filetype.vim 2023-01-22 13:10:35.609050973 +0000 --- src/testdir/test_filetype.vim 2023-01-22 18:13:39.054052668 +0000 *************** *** 580,585 **** --- 580,586 ---- \ 'texmf': ['texmf.cnf'], \ 'text': ['file.text', 'file.txt', 'README', 'LICENSE', 'COPYING', 'AUTHORS', '/usr/share/doc/bash-completion/AUTHORS', '/etc/apt/apt.conf.d/README', '/etc/Muttrc.d/README'], \ 'tf': ['file.tf', '.tfrc', 'tfrc'], + \ 'thrift': ['file.thrift'], \ 'tidy': ['.tidyrc', 'tidyrc', 'tidy.conf'], \ 'tilde': ['file.t.html'], \ 'tla': ['file.tla'], *** ../vim-9.0.1229/src/version.c 2023-01-22 13:10:35.609050973 +0000 --- src/version.c 2023-01-22 18:14:58.182083007 +0000 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 1230, /**/ -- The users that I support would double-click on a landmine to find out what happens. -- A system administrator /// 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 ///