Skip to content

Commit 08aa12d

Browse files
authored
Merge pull request #1701 from hokorobi/fix-syntax
Fix syntax
2 parents 88769e7 + 33aa928 commit 08aa12d

File tree

3 files changed

+21
-26
lines changed

3 files changed

+21
-26
lines changed

doc/builtin.jax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2743,8 +2743,8 @@ exists({expr}) *exists()*
27432743

27442744
exists_compiled({expr}) *exists_compiled()*
27452745
`exists()` と同様だがコンパイル時に評価を行う。関数にあるブロッ
2746-
クが使うとエラーになってしまう場合にスキップするに便利である:
2747-
>
2746+
クが使うとエラーになってしまう場合にスキップするのに便利である:
2747+
>
27482748
if exists_compiled('*ThatFunction')
27492749
ThatFunction('works')
27502750
endif

doc/ft_ada.jax

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*ft_ada.txt* For Vim バージョン 9.1. Last change: 2022 Mar 13
1+
*ft_ada.txt* For Vim バージョン 9.1. Last change: 2024 Sep 29
22

33

44
ADAファイルタイププラグイン リファレンスマニュアル~
@@ -48,13 +48,12 @@ Adaモードではユーザーが設定できるオプションがいくつか
4848
トは|ft-ada-options|を参照。
4949

5050
それらを有効化するには、オプションに値を設定する。
51-
あるオプションを有効化する例:
52-
>
53-
let ada_standard_types = 1
54-
>
51+
あるオプションを有効化する例: >
52+
let ada_standard_types = 1
53+
<
5554
無効化するには ":unlet" を使用する。例: >
56-
unlet ada_standard_types = 1
57-
55+
unlet ada_standard_types = 1
56+
<
5857
Adaファイルを読込む前に、コマンドラインで ":" とこれらのコマンドをキー入力する
5958
ことで、設定することができる。ファイル "~/.vimrc" に、コロン (":") を除いて
6059
"let" コマンドを追加すれば、これらのオプション設定を永続化することができる。
@@ -152,10 +151,9 @@ GNATは現在入手可能な唯一の(ビールとスピーチ両方の意味で
152151
である。ライセンス条項に違いのある複数のバージョンが用意されている。
153152

154153
GNATコンパイラプラグインは<F7>を押すとコンパイルを行い、その後即座に結果を表示
155-
する。プロジェクトファイルを設定することができる:
156-
>
157-
> call g:gnat.Set_Project_File ('my_project.gpr')
158-
154+
する。プロジェクトファイルを設定することができる: >
155+
call g:gnat.Set_Project_File ('my_project.gpr')
156+
<
159157
プロジェクトファイルを設定すると、GPSと同じようにVimのセッション
160158
(|views-sessions|)も作成される。これは開いているファイル・ウィンドウ位置などを
161159
プロジェクトごとに記憶しておく。

en/ft_ada.txt

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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
22

33

44
ADA FILE TYPE PLUG-INS REFERENCE MANUAL~
@@ -48,14 +48,12 @@ ctermfg=White often shows well).
4848
There are several options you can select in this Ada mode. See |ft-ada-options|
4949
for a complete list.
5050

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+
<
5957
You can just use ":" and type these into the command line to set these
6058
temporarily before loading an Ada file. You can make these option settings
6159
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.
158156

159157
The GNAT compiler plug-in will perform a compile on pressing <F7> and then
160158
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+
<
165162
Setting a project file will also create a Vim session (|views-sessions|) so -
166163
like with the GPS - opened files, window positions etc. will be remembered
167164
separately for all projects.

0 commit comments

Comments
 (0)