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 to lines to:
            /usr/share/vim/current/filetype.vim
    


" Axiom
au BufNewFile,BufRead <em>.spad,</em>.input            setf axiom
?,BufRead? .spad,.input setf axiom " class="equation" src="images/9016495995158087986-16.0px.png" width="475" height="35"/>

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




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