To: vim_dev@googlegroups.com Subject: Patch 8.1.2177 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2177 Problem: Dart files are not recognized. Solution: Add a filetype rule. (Eugene Ciurana, closes #5087) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.1.2176/runtime/filetype.vim 2019-10-18 22:08:33.662776100 +0200 --- runtime/filetype.vim 2019-10-19 14:07:38.500632116 +0200 *************** *** 425,430 **** --- 425,433 ---- au BufNewFile,BufRead *.pld setf cupl au BufNewFile,BufRead *.si setf cuplsim + " Dart + au BufRead,BufNewfile *.dart,*.drt setf dart + " Debian Control au BufNewFile,BufRead */debian/control setf debcontrol au BufNewFile,BufRead control *** ../vim-8.1.2176/src/testdir/test_filetype.vim 2019-10-18 22:08:33.662776100 +0200 --- src/testdir/test_filetype.vim 2019-10-19 14:08:37.980411898 +0200 *************** *** 122,127 **** --- 122,128 ---- \ 'cvs': ['cvs123'], \ 'cvsrc': ['.cvsrc'], \ 'cynpp': ['file.cyn'], + \ 'dart': ['file.dart', 'file.drt'], \ 'datascript': ['file.ds'], \ 'dcd': ['file.dcd'], \ 'debcontrol': ['/debian/control'], *** ../vim-8.1.2176/src/version.c 2019-10-18 23:12:16.659427687 +0200 --- src/version.c 2019-10-19 14:09:32.456208198 +0200 *************** *** 743,744 **** --- 743,746 ---- { /* Add new patch number below this line */ + /**/ + 2177, /**/ -- The problem with political jokes is that they get elected. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///