Update runtime files
[MacVim.git] / runtime / compiler / decada.vim
blob6ba6c2a3639d8a7755d657871c90765dc24e71f1
1 "------------------------------------------------------------------------------
2 "  Description: Vim Ada/Dec Ada compiler file
3 "     Language: Ada (Dec Ada)
4 "          $Id: decada.vim,v 1.1 2007/05/05 18:09:54 vimboss Exp $
5 "    Copyright: Copyright (C) 2006 Martin Krischik
6 "   Maintainer: Martin Krischik
7 "      $Author: vimboss $
8 "        $Date: 2007/05/05 18:09:54 $
9 "      Version: 4.2
10 "    $Revision: 1.1 $
11 "     $HeadURL: https://svn.sourceforge.net/svnroot/gnuada/trunk/tools/vim/compiler/decada.vim $
12 "      History: 21.07.2006 MK New Dec Ada
13 "               15.10.2006 MK Bram's suggestion for runtime integration
14 "    Help Page: compiler-decada
15 "------------------------------------------------------------------------------
17 if (exists("current_compiler")      &&
18    \ current_compiler == "decada")  ||
19    \ version < 700
20    finish
21 endif
23 let current_compiler = "decada"
25 if !exists("g:decada")
26    let g:decada = decada#New ()
27 endif
29 if exists(":CompilerSet") != 2
30    "
31    " plugin loaded by other means then the "compiler" command
32    "
33    command -nargs=* CompilerSet setlocal <args>
34 endif
36 call g:decada.Set_Session ()
38 execute "CompilerSet makeprg="     . escape (g:decada.Make_Command, ' ')
39 execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
41 call ada#Map_Menu (
42   \'Dec Ada.Build',
43   \'<F7>',
44   \'call decada.Make ()')
46 finish " 1}}}
48 "------------------------------------------------------------------------------
49 "   Copyright (C) 2006  Martin Krischik
51 "   Vim is Charityware - see ":help license" or uganda.txt for licence details.
52 "------------------------------------------------------------------------------
53 " vim: textwidth=78 wrap tabstop=8 shiftwidth=3 softtabstop=3 noexpandtab
54 " vim: foldmethod=marker