A new vim syntax file has been added to Axiom, written by Fabio Stumbo.
It provides syntax highlighting for Axiom spad files which are the
algebra source language. It provides syntax highlighting for Axiom
pamphlet files which are standard latex format files.

The file is in the zips subdirectory. To use it type:
cp zips/axiom.vim.tgz ~/.vim/syntax
cd ~/.vim/syntax
tar -zxf axiom.vim.tgz
cd ~
   (edit .vimrc) and add the lines

au BufNewFile,BufRead *.input *.spad exe "source ~/.vim/syntax/axiom.vim"
au BufRead,BufNewFile *.pamphlet setfiletype tex
au BufRead,BufNewFile *.pamphlet  exe "source ~/.vim/syntax/pamphlet.vim"

_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
https://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to