forked from aniani/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 #10211)
This commit is contained in:
committed by
Bram Moolenaar
parent
03cca297df
commit
d0a20c9d11
@@ -158,6 +158,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()
|
||||
|
||||
Reference in New Issue
Block a user