From c9480078aa59f61e7876a71e60a1f919546d87bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:19:16 +0900 Subject: [PATCH 01/18] syntax.txt: Update Vim 9.0.1211 --- en/syntax.txt | 109 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 80 insertions(+), 29 deletions(-) diff --git a/en/syntax.txt b/en/syntax.txt index 86e7edd02..27c65dacc 100644 --- a/en/syntax.txt +++ b/en/syntax.txt @@ -1,4 +1,4 @@ -*syntax.txt* For Vim version 9.0. Last change: 2022 Jun 10 +*syntax.txt* For Vim version 9.0. Last change: 2022 Dec 26 VIM REFERENCE MANUAL by Bram Moolenaar @@ -500,7 +500,7 @@ Force to omit the line numbers: > Go back to the default to use 'number' by deleting the variable: > :unlet g:html_number_lines < - *g:html_line_ids* + *g:html_line_ids* Default: 1 if |g:html_number_lines| is set, 0 otherwise. When 1, adds an HTML id attribute to each line number, or to an empty inserted for that purpose if no line numbers are shown. This ID attribute @@ -692,6 +692,22 @@ the rendered page generated by 2html.vim. > :let g:html_no_pre = 1 < + *g:html_no_doc* +Default: 0. +When 1 it doesn't generate a full HTML document with a DOCTYPE, , +, etc. If |g:html_use_css| is enabled (the default) you'll have to +define the CSS manually. The |g:html_dynamic_folds| and |g:html_line_ids| +settings (off by default) also insert some JavaScript. + + + *g:html_no_links* +Default: 0. +Don't generate tags for text that looks like an URL. + + *g:html_no_modeline* +Default: 0. +Don't generate a modeline disabling folding. + *g:html_expand_tabs* Default: 0 if 'tabstop' is 8, 'expandtab' is 0, 'vartabstop' is not in use, and no fold column or line numbers occur in the generated HTML; @@ -1872,6 +1888,16 @@ following two lines to the syntax coloring file for that language Now you just need to make sure that you add all regions that contain the preprocessor language to the cluster htmlPreproc. + *html-folding* +The HTML syntax file provides syntax |folding| (see |:syn-fold|) between start +and end tags. This can be turned on by > + + :let g:html_syntax_folding = 1 + :set foldmethod=syntax + +Note: Syntax folding might slow down syntax highlighting significantly, +especially for large files. + HTML/OS (by Aestiva) *htmlos.vim* *ft-htmlos-syntax* @@ -2400,7 +2426,7 @@ you set the variable: > :let papp_include_html=1 -in your startup file it will try to syntax-hilight html code inside phtml +in your startup file it will try to syntax-highlight html code inside phtml sections, but this is relatively slow and much too colourful to be able to edit sensibly. ;) @@ -2932,7 +2958,7 @@ Default folding is rather detailed, i.e., small syntax units like "if", "do", You can set "ruby_foldable_groups" to restrict which groups are foldable: > - :let ruby_foldable_groups = 'if case %' + :let ruby_foldable_groups = 'if case %' < The value is a space-separated list of keywords: @@ -2940,22 +2966,22 @@ The value is a space-separated list of keywords: -------- ------------------------------------- ~ ALL Most block syntax (default) NONE Nothing - if "if" or "unless" block + if "if" or "unless" block def "def" block class "class" block module "module" block - do "do" block + do "do" block begin "begin" block case "case" block for "for", "while", "until" loops - { Curly bracket block or hash literal - [ Array literal - % Literal with "%" notation, e.g.: %w(STRING), %!STRING! - / Regexp + { Curly bracket block or hash literal + [ Array literal + % Literal with "%" notation, e.g.: %w(STRING), %!STRING! + / Regexp string String and shell command output (surrounded by ', ", `) - : Symbol - # Multiline comment - << Here documents + : Symbol + # Multiline comment + << Here documents __END__ Source code after "__END__" directive *ruby_no_expensive* @@ -3021,16 +3047,25 @@ satisfied with it for my own projects. SED *sed.vim* *ft-sed-syntax* To make tabs stand out from regular blanks (accomplished by using Todo -highlighting on the tabs), define "highlight_sedtabs" by putting > - - :let highlight_sedtabs = 1 +highlighting on the tabs), define "g:sed_highlight_tabs" by putting > + :let g:sed_highlight_tabs = 1 +< in the vimrc file. (This special highlighting only applies for tabs inside search patterns, replacement texts, addresses or text included by an Append/Change/Insert command.) If you enable this option, it is also a good idea to set the tab width to one character; by doing that, you can easily count the number of tabs in a string. +GNU sed allows comments after text on the same line. BSD sed only allows +comments where "#" is the first character of the line. To enforce BSD-style +comments, i.e. mark end-of-line comments as errors, use: > + + :let g:sed_dialect = "bsd" +< +Note that there are other differences between GNU sed and BSD sed which are +not (yet) affected by this setting. + Bugs: The transform command (y) is treated exactly like the substitute @@ -3153,7 +3188,7 @@ The default is to use the twice sh_minlines. Set it to a smaller number to speed up displaying. The disadvantage is that highlight errors may appear. syntax/sh.vim tries to flag certain problems as errors; usually things like -extra ']'s, 'done's, 'fi's, etc. If you find the error handling problematic +unmatched "]", "done", "fi", etc. If you find the error handling problematic for your purposes, you may suppress such error highlighting by putting the following line in your .vimrc: > @@ -3586,6 +3621,14 @@ highlighting is to put the following line in your |vimrc|: > < +WDL *wdl.vim* *wdl-syntax* + +The Workflow Description Language is a way to specify data processing workflows +with a human-readable and writeable syntax. This is used a lot in +bioinformatics. More info on the spec can be found here: +https://github.com/openwdl/wdl + + XF86CONFIG *xf86conf.vim* *ft-xf86conf-syntax* The syntax of XF86Config file differs in XFree86 v3.x and v4.x. Both @@ -3793,7 +3836,7 @@ SYNTAX ISKEYWORD SETTING *:syn-iskeyword* clear: Syntax specific iskeyword setting is disabled and the buffer-local 'iskeyword' setting is used. - {option} Set the syntax 'iskeyword' option to a new value. + {option} Set the syntax 'iskeyword' option to a new value. Example: > :syntax iskeyword @,48-57,192-255,$,_ @@ -4866,7 +4909,7 @@ is mostly used, because it looks better. In the next section you can find information about indivisual highlight groups and how to specify colors for them. Most likely you want to just select a set of colors by using the `:colorscheme` command, for example: > - + colorscheme pablo < *:colo* *:colorscheme* *E185* @@ -4905,6 +4948,7 @@ Before the color scheme will be loaded all default color list scripts autocommand event is triggered. After the color scheme has been loaded the |ColorScheme| autocommand event is triggered. + *colorscheme-override* If a color scheme is almost right, you can add modifications on top of it by using the |ColorScheme| autocommand. For example, to remove the background color (can make it transparent in some terminals): > @@ -4917,7 +4961,7 @@ Change a couple more colors: > augroup my_colorschemes au! au Colorscheme pablo hi Normal ctermbg=NONE - \ | higlight Special ctermfg=63 + \ | highlight Special ctermfg=63 \ | highlight Identifier ctermfg=44 augroup END @@ -4959,7 +5003,7 @@ in their own color. *highlight-clear* *:hi-clear* :hi[ghlight] clear Reset all highlighting to the defaults. Removes all - highlighting for groups added by the user! + highlighting for groups added by the user. Uses the current value of 'background' to decide which default colors to use. If there was a default link, restore it. |:hi-link| @@ -5270,7 +5314,7 @@ guisp={color-name} *highlight-guisp* "gg" is the Green value "bb" is the Blue value All values are hexadecimal, range from "00" to "ff". Examples: > - :highlight Comment guifg=#11f0c3 guibg=#ff00ff + :highlight Comment guifg=#11f0c3 guibg=#ff00ff < If you are authoring a color scheme and use the same hexadecimal value repeatedly, you can define a name for it in |v:colornames|. For @@ -5360,23 +5404,26 @@ LineNrBelow Line number for when the 'relativenumber' *hl-CursorLineNr* CursorLineNr Like LineNr when 'cursorline' is set and 'cursorlineopt' contains "number" or is "both", for the cursor line. - *hl-CursorLineSign* -CursorLineSign Like SignColumn when 'cursorline' is set for the cursor line. *hl-CursorLineFold* CursorLineFold Like FoldColumn when 'cursorline' is set for the cursor line. + *hl-CursorLineSign* +CursorLineSign Like SignColumn when 'cursorline' is set for the cursor line. *hl-MatchParen* MatchParen Character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| - + *hl-MessageWindow* +MessageWindow Messages popup window used by `:echowindow`. If not defined + |hl-WarningMsg| is used. *hl-ModeMsg* ModeMsg 'showmode' message (e.g., "-- INSERT --"). *hl-MoreMsg* MoreMsg |more-prompt| *hl-NonText* -NonText '@' at the end of the window, characters from 'showbreak' - and other characters that do not really exist in the text - (e.g., ">" displayed when a double-wide character doesn't - fit at the end of the line). +NonText '@' at the end of the window, "<<<" at the start of the window + for 'smoothscroll', characters from 'showbreak' and other + characters that do not really exist in the text, such as the + ">" displayed when a double-wide character doesn't fit at the + end of the line. *hl-Normal* Normal Normal text. *hl-Pmenu* @@ -5387,6 +5434,10 @@ PmenuSel Popup menu: Selected item. PmenuSbar Popup menu: Scrollbar. *hl-PmenuThumb* PmenuThumb Popup menu: Thumb of the scrollbar. + *hl-PopupNotification* +PopupNotification + Popup window created with |popup_notification()|. If not + defined |hl-WarningMsg| is used. *hl-Question* Question |hit-enter| prompt and yes/no questions. *hl-QuickFixLine* From b67121e41a58cbb544ff5fdedaf52b02a30b68b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:21:29 +0900 Subject: [PATCH 02/18] =?UTF-8?q?g:html=5Fno=5F...=20=E7=B3=BB=E3=81=AE?= =?UTF-8?q?=E7=BF=BB=E8=A8=B3=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/doc/syntax.jax b/doc/syntax.jax index 4c69ac42c..23c6be668 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -671,6 +671,23 @@ Vim 内での表示と同じように表示され、タブ文字もそのまま > :let g:html_no_pre = 1 < + *g:html_no_doc* +初期設定: 0 +1 なら、HTML ドキュメントを生成するさいに文書型宣言 (DOCTYPE) や , + 要素などを含めない。|g:html_use_css| が有効ならば (初期設定では有効)、 +CSS を手動で定義しなくてはならない。|g:html_dynamic_folds| および +|g:html_line_ids| が設定されていれば (初期設定では無効)、JavaScript が挿入される +{訳注: つまりこの設定によって挙動が変化しないということ}。 + + + *g:html_no_links* +初期設定: 0 +URL 風の文字列を 要素に変換しない。 + + *g:html_no_modeline* +初期設定: 0 +折り畳みを無効化するモードラインを生成しない。 + *g:html_expand_tabs* 初期設定: 'tabstop' が 8 で 'expandtab' が 0 で 'vartabstop' が使われていない、 かつ、foldcolumn と行番号がない場合は 0。 From 97935690fbcaa4f79f48007937d7d2c98235773c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:30:58 +0900 Subject: [PATCH 03/18] =?UTF-8?q?html-folding=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/syntax.jax b/doc/syntax.jax index 23c6be668..046ae2166 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1827,6 +1827,17 @@ htmlプロセッサー言語は複数ある。html.vimはインクルードし そしてプリプロセッサー言語を含むすべての領域をクラスタhtmlPreprocに加えればよ い。 + *html-folding* +HTML 構文ファイルを使うと、開始タグと終了タグの間を折りたたむ|folding|ことができ +る(|:syn-fold|を参照)。これをオンにするには > + + :let g:html_syntax_folding = 1 + :set foldmethod=syntax + +とする。 +Note: 構文による折り畳みは、構文ハイライトを著しく遅くする可能性がある。特に巨 +大なファイルではそうである。 + HTML/OS (by Aestiva) *htmlos.vim* *ft-htmlos-syntax* From 2edad769212628436516a74cf086966cb53c21ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:42:58 +0900 Subject: [PATCH 04/18] =?UTF-8?q?sed=E3=81=AE=E6=96=B9=E8=A8=80=E3=81=AB?= =?UTF-8?q?=E3=81=9F=E3=81=84=E3=81=99=E3=82=8B=E5=AF=BE=E5=BF=9C=E3=82=92?= =?UTF-8?q?=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/syntax.jax b/doc/syntax.jax index 046ae2166..a54f64720 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -2952,6 +2952,15 @@ Append/Change/Insertコマンドに含まれるテキストいずれかの中の る)。このオプションを有効化するなら、タブ幅を1文字にするとよい。そうすると文字 列中のタブの数を数えやすくなる。 +GNU sed ではコメントを {訳注: コマンドがある行の} 文末に置くことができる。BSD +sed では "#" が行頭である場合にしかコメントとみなされない。BSD 形式のコメントを +強制する、すなわち行末コメントをエラーとして表示するには: > + + :let g:sed_dialect = "bsd" +< +なお、GNU sed と BSD sed とのあいだの違いは沢山あるが、この設定が影響するのは +今のところコメントの形式だけにとどまる。 + バグ: 変換コマンド(y)は置換コマンドとまったく同様に扱われる。つまり、この構文ファ From eddb8087167851e802e37d0525d144d5a4738723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:54:05 +0900 Subject: [PATCH 05/18] =?UTF-8?q?MessageWindow=20=E6=A7=8B=E6=96=87?= =?UTF-8?q?=E9=83=A1=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/syntax.jax b/doc/syntax.jax index a54f64720..e162ff6a6 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -5207,6 +5207,9 @@ CursorLineFold FoldColumn と同じだが 'cursorline' が設定されたとき *hl-MatchParen* MatchParen カーソル下の文字、または直後の文字が括弧であるとき、その文字と 対応する括弧に使われる。|pi_paren.txt| + *hl-MessageWindow* +MessageWindow `:echowindow` で表示されるポップアップウィンドウにおけるメッ + セージ。定義されていないときは |hl-WarningMsg| が用いられる。 *hl-ModeMsg* ModeMsg 'showmode' のメッセージ(例、"-- INSERT --")。 *hl-MoreMsg* From ab261446ade09e6f16aa74be281e37447cd217c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 16:59:31 +0900 Subject: [PATCH 06/18] =?UTF-8?q?"NonText"=20=E3=81=AE=E5=AF=BE=E8=B1=A1?= =?UTF-8?q?=E3=82=92=E8=BF=BD=E5=8A=A0=EF=BC=88=E7=BF=BB=E8=A8=B3=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index e162ff6a6..485dd5a23 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -5215,9 +5215,10 @@ ModeMsg 'showmode' のメッセージ(例、"-- INSERT --")。 *hl-MoreMsg* MoreMsg |more-prompt| *hl-NonText* -NonText ウィンドウの端の '@' と 'showbreak' で設定された文字など、実際 - のテキストには存在しない文字(例. 全角文字が行末に収まらないと - き ">" が表示される)。 +NonText ウィンドウの端の '@' や、'smoothscroll' を設定しているときの行頭 + に表示される "<<<"、'showbreak' で設定された文字など、実際の + テキストには存在しない文字(例. 全角文字が行末に収まらないとき + ">" が表示される)。 *hl-Normal* Normal 通常のテキスト。 *hl-Pmenu* From 009a363584e7695336acc72b012de900b27cb574 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:02:20 +0900 Subject: [PATCH 07/18] =?UTF-8?q?PopupNotification=20=E6=A7=8B=E6=96=87?= =?UTF-8?q?=E9=83=A1=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/syntax.jax b/doc/syntax.jax index 485dd5a23..20ad047f4 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -5229,6 +5229,10 @@ PmenuSel ポップアップメニュー: 選択されている項目。 PmenuSbar ポップアップメニュー: スクロールバー。 *hl-PmenuThumb* PmenuThumb ポップアップメニュー: スクロールバーのつまみ部分。 + *hl-PopupNotification* +PopupNotification + |popup_notification()| で生成されたポップアップウィンドウ。定義 + されていないときは |hl-WarningMsg| が用いられる。 *hl-Question* Question ヒットエンタープロンプト|hit-enter|とyes/noクエスチョン。 *hl-QuickFixLine* From 69d43fb04dd27e65b0ec50d6ea4aa655b93b73b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:05:24 +0900 Subject: [PATCH 08/18] =?UTF-8?q?ownsyntax=20=E3=81=AB=E3=81=8B=E3=82=93?= =?UTF-8?q?=E3=81=99=E3=82=8B=E6=B3=A8=E6=84=8F=E3=82=92=E7=BF=BB=E8=A8=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit これは今回の更新で変更された場所ではない。 以前から未翻訳だった。 --- doc/syntax.jax | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 20ad047f4..d3f6a2e4a 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -5506,7 +5506,8 @@ types.vim: *.[ch] 更されない。"b:current_syntax" は構文ファイルによって変更されるが、 "b:current_syntax" を一時的に保存・復元することで値が変わらないようになってい る。構文ファイルによって設定された値が "w:current_syntax" に代入される。 -Note: This resets the 'spell', 'spellcapcheck' and 'spellfile' options. +Note: この設定によって 'spell', 'spellcapcheck', 'spellfile' オプションは初期 +設定に戻る。 ウィンドウの独自構文が定義されると、同じバッファの他のウィンドウで実行された構 文コマンド (:syntax clear を含む) が影響しなくなる。逆に、そのウィンドウで実行 From 4d32d3bc617dbbaf145981e551b6730e15e17bd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:24:20 +0900 Subject: [PATCH 09/18] =?UTF-8?q?TeX=E3=81=AE=E6=A7=8B=E6=96=87=E5=BC=B7?= =?UTF-8?q?=E8=AA=BF=E3=81=AE=E7=BF=BB=E8=A8=B3=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正前の文章は,原文と意味が異なってしまっている(直訳してもおかしい)。 (La)TeX における事情を踏まえたうえで,原文の意味を保つことを最優先にして翻訳しなおした。 また,念の為訳注を付してこの設定の意図するところを分かりやすくした。 --- doc/syntax.jax | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index d3f6a2e4a..7e79c6615 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -3343,16 +3343,20 @@ LOCALMATHをあなたが決めた新しいmathグループに書き換える必 *tex-style* *b:tex_stylish* Tex: 新しいスタイルを始めるには ~ -*.texファイルで "\makeatletter" を使う人がいるかもしれないので、コマンド中で -"@" が使えるようになっている。しかし*.texファイルは次の拡張子: sty cls clo dtx -ltx を持たないので @ をエラーと判断してハイライトする。これを解決するにはこう -する: > +"\makeatletter" を用いれば、*.tex ファイルのなかで "@" という文字を含むコマンド +を利用できる。しかしながら,拡張子が sty cls clo dtx ltx のどれでもない場合、@ +を含むコマンドはエラーとして表示される。これを解決するには: > :let b:tex_stylish = 1 :set ft=tex "let g:tex_stylish=1" を<.vimrc>に書くとは常にこのような @ の 使用法を受け入れるようになる。 +{訳注: この挙動は、おもに LaTeX において、「@ を含むコマンドは開発用途として +使う」という取り決めがあることに由来する(と思われる)。ちょうど、一般のプログ +ラミング言語における隠蔽変数のようなものである。「普通の」TeX ファイルを編集 +するさいには、そのようなコマンドを扱うことはないから、@ を含んだコマンドが +「エラー」になるのはある意味で正しい挙動と言える。} *tex-cchar* *tex-cole* *tex-conceal* Tex: Conceal モードを活用する ~ From b5b4c83e2b11075722145c02f141c5c80b4bb47c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:28:01 +0900 Subject: [PATCH 10/18] fix typo --- doc/syntax.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 7e79c6615..0014e8fe2 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -3344,7 +3344,7 @@ LOCALMATHをあなたが決めた新しいmathグループに書き換える必 Tex: 新しいスタイルを始めるには ~ "\makeatletter" を用いれば、*.tex ファイルのなかで "@" という文字を含むコマンド -を利用できる。しかしながら,拡張子が sty cls clo dtx ltx のどれでもない場合、@ +を利用できる。しかしながら、拡張子が sty cls clo dtx ltx のどれでもない場合、@ を含むコマンドはエラーとして表示される。これを解決するには: > :let b:tex_stylish = 1 From 6040f09289cf93bdb9c50d28dfb76a833d82ac80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85=20=28cmplstofB=29?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 17 Jan 2023 17:50:06 +0900 Subject: [PATCH 11/18] =?UTF-8?q?=E6=97=A5=E4=BB=98=E3=82=92=E7=BF=BB?= =?UTF-8?q?=E8=A8=B3=E5=85=83=E3=81=AB=E8=BF=BD=E5=BE=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/syntax.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 0014e8fe2..54fb292a3 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1,4 +1,4 @@ -*syntax.txt* For Vim バージョン 9.0. Last change: 2022 Jun 10 +*syntax.txt* For Vim バージョン 9.0. Last change: 2022 Dec 26 VIMリファレンスマニュアル by Bram Moolenaar From bc483946229591d40c7f2c4f6068480f316e922b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Sun, 22 Jan 2023 19:21:12 +0900 Subject: [PATCH 12/18] =?UTF-8?q?=E6=8C=87=E6=91=98=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F=E3=81=8C=E3=81=A3=E3=81=A6=E8=A8=B3=E6=B3=A8=E3=82=92?= =?UTF-8?q?=E5=89=8A=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit くわしくは当該指摘を参照 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files/6040f09289cf93bdb9c50d28dfb76a833d82ac80#r1083397434 Co-authored-by: h_east --- doc/syntax.jax | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 54fb292a3..aba7e9b1c 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -677,7 +677,6 @@ Vim 内での表示と同じように表示され、タブ文字もそのまま 要素などを含めない。|g:html_use_css| が有効ならば (初期設定では有効)、 CSS を手動で定義しなくてはならない。|g:html_dynamic_folds| および |g:html_line_ids| が設定されていれば (初期設定では無効)、JavaScript が挿入される -{訳注: つまりこの設定によって挙動が変化しないということ}。 *g:html_no_links* From f8dba1887b7a30d0adc5cc45e66dbff3af9efed0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:55:16 +0900 Subject: [PATCH 13/18] =?UTF-8?q?HTML=E3=81=BE=E3=82=8F=E3=82=8A=E3=81=AE?= =?UTF-8?q?=E7=BF=BB=E8=A8=B3=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083396653 Co-authored-by: h_east --- doc/syntax.jax | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index aba7e9b1c..c5e28ea69 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -673,10 +673,10 @@ Vim 内での表示と同じように表示され、タブ文字もそのまま < *g:html_no_doc* 初期設定: 0 -1 なら、HTML ドキュメントを生成するさいに文書型宣言 (DOCTYPE) や , - 要素などを含めない。|g:html_use_css| が有効ならば (初期設定では有効)、 -CSS を手動で定義しなくてはならない。|g:html_dynamic_folds| および -|g:html_line_ids| が設定されていれば (初期設定では無効)、JavaScript が挿入される +1 の場合、DOCTYPE, , などを含む完全な HTML ドキュメントは生成され +ない。|g:html_use_css| が有効になっている場合 (デフォルト)、CSS を手動で定義す +る必要がある。|g:html_dynamic_folds| および |g:html_line_ids| 設定 (デフォルト +ではオフ) も、いくつかの JavaScript を挿入する。 *g:html_no_links* From 0e19bb906ec4b825a4c234e32ab3b380774b266e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:56:24 +0900 Subject: [PATCH 14/18] =?UTF-8?q?sed=E3=81=BE=E3=82=8F=E3=82=8A=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083405210 Co-authored-by: h_east --- doc/syntax.jax | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index c5e28ea69..172ab761e 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -2957,8 +2957,8 @@ sed では "#" が行頭である場合にしかコメントとみなされな :let g:sed_dialect = "bsd" < -なお、GNU sed と BSD sed とのあいだの違いは沢山あるが、この設定が影響するのは -今のところコメントの形式だけにとどまる。 +Note GNU sed と BSD sed の間には、この設定によって (まだ) 影響を受けていない他 +の違いがある。 バグ: From a0c3350e573d911a2dca8f5a7366f709e163dfed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 08:57:30 +0900 Subject: [PATCH 15/18] =?UTF-8?q?=E8=A8=B3=E8=AA=9E=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083398156 Co-authored-by: h_east --- doc/syntax.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 172ab761e..73132fd69 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -681,7 +681,7 @@ Vim 内での表示と同じように表示され、タブ文字もそのまま *g:html_no_links* 初期設定: 0 -URL 風の文字列を 要素に変換しない。 +URL のようなテキストには タグを生成しない。 *g:html_no_modeline* 初期設定: 0 From 851226274ab3027e75b3c75bf60a2d83ace9066b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 09:05:52 +0900 Subject: [PATCH 16/18] =?UTF-8?q?=E6=9B=B8=E5=BC=8F=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083399969 Co-authored-by: h_east --- doc/syntax.jax | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 73132fd69..1b76d20c3 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -1827,13 +1827,12 @@ htmlプロセッサー言語は複数ある。html.vimはインクルードし い。 *html-folding* -HTML 構文ファイルを使うと、開始タグと終了タグの間を折りたたむ|folding|ことができ -る(|:syn-fold|を参照)。これをオンにするには > +HTML 構文ファイルは、開始タグと終了タグ間の構文折り畳み |folding| (|:syn-fold| +を参照) を提供する。これは次の方法でオンにできる > :let g:html_syntax_folding = 1 :set foldmethod=syntax -とする。 Note: 構文による折り畳みは、構文ハイライトを著しく遅くする可能性がある。特に巨 大なファイルではそうである。 From b5bee611ad6042d17a31c3a8933862bbaa8a10cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 09:07:21 +0900 Subject: [PATCH 17/18] =?UTF-8?q?=E6=96=B9=E9=87=9D=E3=81=AB=E3=81=97?= =?UTF-8?q?=E3=81=9F=E3=81=8C=E3=81=84=E8=A8=B3=E6=B3=A8=E3=82=92=E5=89=8A?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083403339 Co-authored-by: h_east --- doc/syntax.jax | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 1b76d20c3..7fdd0acb6 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -2950,9 +2950,9 @@ Append/Change/Insertコマンドに含まれるテキストいずれかの中の る)。このオプションを有効化するなら、タブ幅を1文字にするとよい。そうすると文字 列中のタブの数を数えやすくなる。 -GNU sed ではコメントを {訳注: コマンドがある行の} 文末に置くことができる。BSD -sed では "#" が行頭である場合にしかコメントとみなされない。BSD 形式のコメントを -強制する、すなわち行末コメントをエラーとして表示するには: > +GNU sed では、同じ行のテキストの後ろにコメントを書くことができる。BSD sed では +"#" が行頭である場合にしかコメントとみなされない。BSD 形式のコメントを強制す +る、すなわち行末コメントをエラーとして表示するには: > :let g:sed_dialect = "bsd" < From c8193e18db278c2e07777ca2f60715e5aa4f306f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=CC=85?= <20594300+cmplstofB@users.noreply.github.com> Date: Tue, 31 Jan 2023 09:29:40 +0900 Subject: [PATCH 18/18] =?UTF-8?q?=E6=94=B9=E8=A1=8C=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 参考 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083393749 https://github.com/vim-jp/vimdoc-ja-working/pull/1215/files#r1083393914 --- doc/syntax.jax | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/syntax.jax b/doc/syntax.jax index 7fdd0acb6..273be7d52 100644 --- a/doc/syntax.jax +++ b/doc/syntax.jax @@ -5217,10 +5217,10 @@ ModeMsg 'showmode' のメッセージ(例、"-- INSERT --")。 *hl-MoreMsg* MoreMsg |more-prompt| *hl-NonText* -NonText ウィンドウの端の '@' や、'smoothscroll' を設定しているときの行頭 - に表示される "<<<"、'showbreak' で設定された文字など、実際の - テキストには存在しない文字(例. 全角文字が行末に収まらないとき - ">" が表示される)。 +NonText ウィンドウの端の '@' や、'smoothscroll' を設定しているときの + 行頭に表示される "<<<"、'showbreak' で設定された文字など、 + 実際のテキストには存在しない文字(例. 全角文字が行末に収まらな + いとき ">" が表示される)。 *hl-Normal* Normal 通常のテキスト。 *hl-Pmenu* @@ -5233,8 +5233,8 @@ PmenuSbar ポップアップメニュー: スクロールバー。 PmenuThumb ポップアップメニュー: スクロールバーのつまみ部分。 *hl-PopupNotification* PopupNotification - |popup_notification()| で生成されたポップアップウィンドウ。定義 - されていないときは |hl-WarningMsg| が用いられる。 + |popup_notification()| で生成されたポップアップウィンドウ。 + 定義されていないときは |hl-WarningMsg| が用いられる。 *hl-Question* Question ヒットエンタープロンプト|hit-enter|とyes/noクエスチョン。 *hl-QuickFixLine*