To: vim_dev@googlegroups.com Subject: Patch 8.2.2773 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2773 Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes #8117) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.2772/runtime/filetype.vim 2021-04-15 14:29:13.841189159 +0200 --- runtime/filetype.vim 2021-04-17 14:05:51.906678736 +0200 *************** *** 600,606 **** au BufNewFile,BufRead *.factor setf factor " Fennel ! autocmd BufRead,BufNewFile *.fnl setf fennel " Fetchmail RC file au BufNewFile,BufRead .fetchmailrc setf fetchmail --- 600,606 ---- au BufNewFile,BufRead *.factor setf factor " Fennel ! autocmd BufRead,BufNewFile *.fnl setf fennel " Fetchmail RC file au BufNewFile,BufRead .fetchmailrc setf fetchmail *************** *** 644,650 **** au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom " Gift (Moodle) ! autocmd BufRead,BufNewFile *.gift setf gift " Git au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG setf gitcommit --- 644,650 ---- au BufNewFile,BufRead *.ged,lltxxxxx.txt setf gedcom " Gift (Moodle) ! autocmd BufRead,BufNewFile *.gift setf gift " Git au BufNewFile,BufRead COMMIT_EDITMSG,MERGE_MSG,TAG_EDITMSG setf gitcommit *************** *** 715,721 **** au BufNewFile,BufRead *.haml setf haml " Hamster Classic | Playground files ! au BufNewFile,BufRead *.hsm setf hamster " Haskell au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot setf haskell --- 715,721 ---- au BufNewFile,BufRead *.haml setf haml " Hamster Classic | Playground files ! au BufNewFile,BufRead *.hsm setf hamster " Haskell au BufNewFile,BufRead *.hs,*.hsc,*.hs-boot setf haskell *************** *** 1342,1353 **** " Promela au BufNewFile,BufRead *.pml setf promela " Google protocol buffers au BufNewFile,BufRead *.proto setf proto au BufNewFile,BufRead *.pbtxt setf pbtxt " Poke ! au BufNewFile,BufRead *.pk setf poke " Protocols au BufNewFile,BufRead */etc/protocols setf protocols --- 1342,1356 ---- " Promela au BufNewFile,BufRead *.pml setf promela + " Property Specification Language (PSL) + au BufNewFile,BufRead *.psl setf psl + " Google protocol buffers au BufNewFile,BufRead *.proto setf proto au BufNewFile,BufRead *.pbtxt setf pbtxt " Poke ! au BufNewFile,BufRead *.pk setf poke " Protocols au BufNewFile,BufRead */etc/protocols setf protocols *** ../vim-8.2.2772/src/testdir/test_filetype.vim 2021-04-15 14:29:13.845189149 +0200 --- src/testdir/test_filetype.vim 2021-04-17 14:05:55.994671553 +0200 *************** *** 392,397 **** --- 392,398 ---- \ 'ps1': ['file.ps1', 'file.psd1', 'file.psm1', 'file.pssc'], \ 'ps1xml': ['file.ps1xml'], \ 'psf': ['file.psf'], + \ 'psl': ['file.psl'], \ 'puppet': ['file.pp'], \ 'pyrex': ['file.pyx', 'file.pxd'], \ 'python': ['file.py', 'file.pyw', '.pythonstartup', '.pythonrc', 'file.ptl', 'file.pyi', 'SConstruct'], *** ../vim-8.2.2772/src/version.c 2021-04-16 19:58:15.915249728 +0200 --- src/version.c 2021-04-17 14:03:39.746884155 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2773, /**/ -- Nobody will ever need more than 640 kB RAM. -- Bill Gates, 1983 Windows 98 requires 16 MB RAM. -- Bill Gates, 1999 Logical conclusion: Nobody will ever need Windows 98. /// 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 ///