|
1 | | -*ft_ada.txt* For Vim version 9.1. Last change: 2022 Mar 13 |
| 1 | +*ft_ada.txt* For Vim version 9.1. Last change: 2024 Sep 29 |
2 | 2 |
|
3 | 3 |
|
4 | 4 | ADA FILE TYPE PLUG-INS REFERENCE MANUAL~ |
@@ -48,14 +48,12 @@ ctermfg=White often shows well). |
48 | 48 | There are several options you can select in this Ada mode. See |ft-ada-options| |
49 | 49 | for a complete list. |
50 | 50 |
|
51 | | -To enable them, assign a value to the option. For example, to turn one on: |
52 | | - > |
53 | | - > let g:ada_standard_types = 1 |
54 | | -> |
55 | | -To disable them use ":unlet". Example: |
56 | | -> |
57 | | - > unlet g:ada_standard_types |
58 | | -
|
| 51 | +To enable them, assign a value to the option. For example, to turn one on: > |
| 52 | + let g:ada_standard_types = 1 |
| 53 | +< |
| 54 | +To disable them use ":unlet". Example: > |
| 55 | + unlet g:ada_standard_types |
| 56 | +< |
59 | 57 | You can just use ":" and type these into the command line to set these |
60 | 58 | temporarily before loading an Ada file. You can make these option settings |
61 | 59 | permanent by adding the "let" command(s), without a colon, to your "~/.vimrc" |
@@ -158,10 +156,9 @@ several versions available which differ in the licence terms used. |
158 | 156 |
|
159 | 157 | The GNAT compiler plug-in will perform a compile on pressing <F7> and then |
160 | 158 | immediately shows the result. You can set the project file to be used by |
161 | | -setting: |
162 | | - > |
163 | | - > call g:gnat.Set_Project_File ('my_project.gpr') |
164 | | -
|
| 159 | +setting: > |
| 160 | + call g:gnat.Set_Project_File ('my_project.gpr') |
| 161 | +< |
165 | 162 | Setting a project file will also create a Vim session (|views-sessions|) so - |
166 | 163 | like with the GPS - opened files, window positions etc. will be remembered |
167 | 164 | separately for all projects. |
|
0 commit comments