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

Edit detail for FriCASInVim revision 2 of 2

1 2
Editor: hemmecke
Time: 2015/10/30 15:48:06 GMT+0
Note:

added:

Another vim mode by Thomas Baruchel, baruchel@gmx.com.
<a href="https://github.com/baruchel/vim-notebook">vim-notebook</a>


Syntax highlighting for FriCAS-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 FriCAS 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.

Another vim mode by Thomas Baruchel, baruchel@gmx.com. vim-notebook