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

Edit detail for FriCASInVim revision 1 of 2

1 2
Editor: test1
Time: 2015/06/01 20:23:33 GMT+0
Note:

changed:
-
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


<a href="http://axiom-wiki.newsynthesis.org/uploads/axiom.vim">axiom.vim</a>


Another vim mode by Fabio Stumbo, fstumbo@unife.it can be found at
<a href="http://www.vim.org/scripts/script.php?script_id=4765">axiom.vim : Syntax files for Axiom computer algebra system files</a>

Look at <a href="https://github.com/hemmecke/vim-panaxiom">vim-panaxiom</a> for a git repository
that is supposed to develop into a combined version of the above two modes.

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.