xref: /vim-8.2.3635/runtime/compiler/decada.vim (revision 044b68f4)
1"------------------------------------------------------------------------------
2"  Description: Vim Ada/Dec Ada compiler file
3"     Language: Ada (Dec Ada)
4"          $Id$
5"    Copyright: Copyright (C) 2006 Martin Krischik
6"   Maintainer:	Martin Krischik
7"      $Author$
8"        $Date$
9"      Version: 4.2
10"    $Revision$
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"------------------------------------------------------------------------------
16
17if (exists("current_compiler")	    &&
18   \ current_compiler == "decada")  ||
19   \ version < 700
20   finish
21endif
22
23let current_compiler = "decada"
24
25if !exists("g:decada")
26   let g:decada = decada#New ()
27endif
28
29if exists(":CompilerSet") != 2
30   "
31   " plugin loaded by other means then the "compiler" command
32   "
33   command -nargs=* CompilerSet setlocal <args>
34endif
35
36call g:decada.Set_Session ()
37
38execute "CompilerSet makeprg="     . escape (g:decada.Make_Command, ' ')
39execute "CompilerSet errorformat=" . escape (g:decada.Error_Format, ' ')
40
41call ada#Map_Menu (
42  \'Dec Ada.Build',
43  \'<F7>',
44  \'call decada.Make ()')
45
46finish " 1}}}
47
48"------------------------------------------------------------------------------
49"   Copyright (C) 2006  Martin Krischik
50"
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
55