Patch 8.2.4781
Problem: Maxima files are not recognized.
Solution: Add patterns to detect Maxima files. (Doron Behar, closes #10211)
Files: runtime/filetype.vim, src/testdir/test_filetype.vim
*** ../vim-8.2.4780/runtime/filetype.vim 2022-04-17 21:15:27.125289777 +0100
--- runtime/filetype.vim 2022-04-18 14:30:34.222084162 +0100
***************
*** 158,163 ****
--- 158,167 ----
" Grub (must be before catch *.lst)
au BufNewFile,BufRead */boot/grub/menu.lst,*/boot/grub/grub.conf,*/etc/grub.conf setf grub
+ " Maxima, see:
+ "
https://maxima.sourceforge.io/docs/manual/maxima_71.html#file_005ftype_005fmaxima
+ au BufNewFile,BufRead *.mc,*.demo,*.dem,*.dm{1,2,3,t},*.wxm,maxima-init.mac setf maxima
+
" Assembly (all kinds)
" *.lst is not pure assembly, it has two extra columns (address, byte codes)
au BufNewFile,BufRead *.asm,*.[sS],*.[aA],*.mac,*.lst call dist#ft#FTasm()
*** ../vim-8.2.4780/src/testdir/test_filetype.vim 2022-04-17 21:15:27.125289777 +0100
--- src/testdir/test_filetype.vim 2022-04-18 14:30:34.222084162 +0100
***************
*** 337,342 ****
--- 337,344 ----
\ 'markdown': ['file.markdown', 'file.mdown', 'file.mkd', 'file.mkdn', 'file.mdwn', 'file.md'],
\ 'mason': ['file.mason', 'file.mhtml', 'file.comp'],
\ 'master': ['file.mas', 'file.master'],
+ \ 'maxima': ['
file.mc', 'file.demo', 'file.dem', 'file.dmt', 'file.dm1', 'file.dm2', 'file.dm3',
+ \ 'file.wxm', 'maxima-init.mac'],
\ 'mel': ['file.mel'],
\ 'meson': ['meson.build', 'meson_options.txt'],
\ 'messages': ['/log/auth', '/log/cron', '/log/daemon', '/log/debug', '/log/kern', '/log/lpr', '/log/mail', '/log/messages', '/log/news/news', '/log/syslog', '/log/user',
*** ../vim-8.2.4780/src/version.c 2022-04-18 14:07:42.542262252 +0100
--- src/version.c 2022-04-18 14:32:27.798034817 +0100
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 4781,
/**/
--
Computers are useless. They can only give you answers.
-- Pablo Picasso
/// Bram Moolenaar -- Br...@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 ///