Skip to content

Commit eadd608

Browse files
authored
Merge pull request #1511 from vim-jp/hh-update-gui
Update gui.{txt,jax}
2 parents 8569162 + f4602d3 commit eadd608

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

doc/gui.jax

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui.txt* For Vim バージョン 9.1. Last change: 2024 Apr 17
1+
*gui.txt* For Vim バージョン 9.1. Last change: 2024 May 01
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -495,15 +495,15 @@ X11でこのレジスタを使うには、|x11-selection|も参照。これは
495495
加したり、あるいは、標準のメニューが気に入らなければ、全てのメニューを取り除く
496496
ことができる|:unmenu-all|。.vimrcファイル(.gvimrcファイルではない!)にこの行を
497497
追加することで標準のメニューが読み込まれないようにすることもできる: >
498-
:let did_install_default_menus = 1
498+
:let g:did_install_default_menus = 1
499499
メニュー項目のSyntax(シンタックス)も無効にしたいなら: >
500-
:let did_install_syntax_menu = 1
500+
:let g:did_install_syntax_menu = 1
501501
Syntax メニューの最初の項目 {訳注:「対応形式をメニューに表示」} を使うと、利用
502502
可能な全てのファイルタイプをメニューに表示できる(読み込みに少し時間がかかるかも
503503
しれない)。起動時に全てのファイルタイプが表示されているようにしたければ次の行
504504
を加える: >
505-
:let do_syntax_sel_menu = 1
506-
505+
:let g:do_syntax_sel_menu = 1
506+
< *menu-lazyload* *g:do_no_lazyload_menus*
507507
以下のメニュー項目は、使用可能なすべてのカラースキーム、キーマップおよびコンパ
508508
イラ設定を表示する。
509509
Edit > Color Scheme ~
@@ -513,7 +513,7 @@ Syntax メニューの最初の項目 {訳注:「対応形式をメニューに
513513
るので読み込みに多少時間がかかる。したがって、それらは (イベント |CursorHold|
514514
によって) 遅れて読み込まれる、もしくは手動で読み込むこともできる。すでに存在す
515515
るすべての項目を起動時に読み込んでおきたい場合、以下を加える: >
516-
:let do_no_lazyload_menus = 1
516+
:let g:do_no_lazyload_menus = 1
517517
518518
Note: menu.vim が読み込まれるのは、`:syntax on` もしくは `:filetype on` が実行
519519
されたとき、もしくはユーザーの .vimrc ファイルが読み込まれた後である。これは、

en/gui.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui.txt* For Vim version 9.1. Last change: 2024 Apr 17
1+
*gui.txt* For Vim version 9.1. Last change: 2024 May 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -498,14 +498,14 @@ Starting off with the default set is a good idea. You can add more items, or,
498498
if you don't like the defaults at all, start with removing all menus
499499
|:unmenu-all|. You can also avoid the default menus being loaded by adding
500500
this line to your .vimrc file (NOT your .gvimrc file!): >
501-
:let did_install_default_menus = 1
501+
:let g:did_install_default_menus = 1
502502
If you also want to avoid the Syntax menu: >
503-
:let did_install_syntax_menu = 1
503+
:let g:did_install_syntax_menu = 1
504504
The first item in the Syntax menu can be used to show all available filetypes
505505
in the menu (which can take a bit of time to load). If you want to have all
506506
filetypes already present at startup, add: >
507-
:let do_syntax_sel_menu = 1
508-
507+
:let g:do_syntax_sel_menu = 1
508+
< *menu-lazyload* *g:do_no_lazyload_menus*
509509
The following menuitems show all available color schemes, keymaps and compiler
510510
settings:
511511
Edit > Color Scheme ~
@@ -515,7 +515,7 @@ However, they can also take a bit of time to load, because they search all
515515
related files from the directories in 'runtimepath'. Therefore they are
516516
loaded lazily (by the |CursorHold| event), or you can also load them manually.
517517
If you want to have all these items already present at startup, add: >
518-
:let do_no_lazyload_menus = 1
518+
:let g:do_no_lazyload_menus = 1
519519
520520
Note that the menu.vim is sourced when `:syntax on` or `:filetype on` is
521521
executed or after your .vimrc file is sourced. This means that the 'encoding'

0 commit comments

Comments
 (0)