Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion autoload/gnat.vim
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ function gnat#New () " {{{1
\ 'Tags_Command' : '"gnat xref -P " . self.Project_File . " -v *.AD*"',
\ 'Error_Format' : '%f:%l:%c: %trror: %m,' .
\ '%f:%l:%c: %tarning: %m,' .
\ '%f:%l:%c: (%ttyle) %m'}
\ '%f:%l:%c: (%ttyle) %m,' .
\ '%f:%l:%c: %m'}

return l:Retval
endfunction gnat#New " }}}1
Expand Down
2 changes: 1 addition & 1 deletion compiler/gnat.vim
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if !exists("g:gnat")

call ada#Map_Menu (
\ 'GNAT.Build',
\ '<F7>',
\ ':GnatMake',
\ 'call gnat.Make ()')
call ada#Map_Menu (
\ 'GNAT.Pretty Print',
Expand Down
7 changes: 5 additions & 2 deletions doc/ft_ada.txt
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ environment.
GNAT is the only free (beer and speech) Ada compiler available. There are
several version available which differentiate in the licence terms used.

The GNAT compiler plug-in will perform a compile on pressing <F7> and then
The GNAT compiler plug-in will perform a compile on pressing |:GnatMake| and then
immediately shows the result. You can set the project file to be used by
setting:
>
Expand Down Expand Up @@ -224,7 +224,7 @@ g:gnat.Error_Format string
*compiler-vaxada* *compiler-compaqada*

Dec Ada (also known by - in chronological order - VAX Ada, Dec Ada, Compaq Ada
and HP Ada) is a fairly dated Ada 83 compiler. Support is basic: <F7> will
and HP Ada) is a fairly dated Ada 83 compiler. Support is basic: |:GnatMake| will
compile the current unit.

The Dec Ada compiler expects the package name and not the file name to be
Expand Down Expand Up @@ -389,6 +389,9 @@ set makes no difference.
:AdaTypes *:AdaTypes*
Toggles standard types (|g:ada_standard_types|) colour.

:GnatMake *:GnatMake*
Calls |g:gnat.Make()|

:GnatFind *:GnatFind*
Calls |g:gnat.Find()|

Expand Down