[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] Vim syntax file

From: u1204
Subject: Re: [Axiom-developer] Vim syntax file
Date: Wed, 20 Nov 2013 11:49:30 -0500

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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]