login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Syntax highlighting for Axiom-files: .spad, .input

  1. Put axiom.vim into the directory .vim/syntax or (superuser) into:
            /usr/share/vim/current/syntax
    
  2. Add the following two lines to:
            /usr/share/vim/current/filetype.vim
    
            " Axiom
            au BufNewFile,BufRead *.spad,*.input            setf axiom
    

Alternatively to 2. you can type the vim-command :set syntax=axiom. This suffices to get syntax highlighting for .spad and .input files.

release 0 - please suggest improvements and missing things for Axiom syntax highlighting using vim. to Johannes L. Grabmeier, johannes.grabmeier@fh-deggendorf.de

axiom.vim

Another vim mode by Fabio Stumbo, fstumbo@unife.it can be found at axiom.vim : Syntax files for Axiom computer algebra system files

Look at vim-panaxiom for a git repository that is supposed to develop into a combined version of the above two modes.




  Subject:   Be Bold !!
  ( 9 subscribers )  
Please rate this page: