diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-04-20 09:50:14 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2022-04-20 09:50:19 +0200 |
commit | d40b2afda8256be4dd91c58ccbb6220a2ca5490f (patch) | |
tree | dbaae6fd1be2c06c03b89401e9ac6b698538a83d /runtime | |
parent | a391cd517bb4f0d638da3f0aaaf57f98e153447e (diff) | |
download | rneovim-d40b2afda8256be4dd91c58ccbb6220a2ca5490f.tar.gz rneovim-d40b2afda8256be4dd91c58ccbb6220a2ca5490f.tar.bz2 rneovim-d40b2afda8256be4dd91c58ccbb6220a2ca5490f.zip |
vim-patch:8.2.4781: Maxima files are not recognized
Problem: Maxima files are not recognized.
Solution: Add patterns to detect Maxima files. (Doron Behar, closes vim/vim#10211)
https://github.com/vim/vim/commit/d0a20c9d111da75febb60ffee2e15f727ab6a5ad
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 08dfe6223f..978812795d 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -154,6 +154,10 @@ au BufNewFile,BufRead *.asp " 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() |