-
Notifications
You must be signed in to change notification settings - Fork 65
Update syntax.{txt,jax} #749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
あ、寝惚けてんのか、逆だった... |
This reverts commit c165690.
確認をおねがいしますー |
doc/syntax.jax
Outdated
*hl-TOhtmlProgress* *TOhtml-progress-color* | ||
プログレスバーは HTML 変換が進むにつれ、ステータスラインに沿って色付きの四角で | ||
表示される。デフォルトでは背景色は現在の "DiffDelete" ハイライトグループの設定 | ||
が適用される。もし "DiffDelete" と "StatusLine" の背景色が同じ場合、TOhtml は |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
もし
は不要だと思いました。(If
は、~の場合
に訳されていると捉えています)
doc/syntax.jax
Outdated
プログレスバーは HTML 変換が進むにつれ、ステータスラインに沿って色付きの四角で | ||
表示される。デフォルトでは背景色は現在の "DiffDelete" ハイライトグループの設定 | ||
が適用される。もし "DiffDelete" と "StatusLine" の背景色が同じ場合、TOhtml は | ||
自動で色を調整する。もし自動で色を選択したくない場合は、自身でプログレスバーの |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
同上。
doc/syntax.jax
Outdated
注意が必要である。<input> 要素がペーストされないようにするのは困難だ。 | ||
0 なら、もし |g:html_prevent_copy| が空でなく |g:html_use_input_for_pc| も | ||
"none" でない場合、コピー抑制エリアのための <input> エレメントに不正な属性が意 | ||
図的に挿入される。これによって、いくつかのアプリケーションで <input> 要素が |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改行位置が違います。
参照: #743 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
こちらは autofmt を入れて gq しても変化がありませんでした
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
78越えになっちゃってる所があるのは確かっぽいので、手動で直す必要がありそうですね
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
すいません、formatoptions
の設定を忘れてました...
#54 (comment)
このコメントだと set formatoptions+=mM
推奨とのことでしたが
|g: html_use_input_for_pc| も "none" でない場合
の部分で も
の前後の空白の解釈ゆれで format 結果が変わってしまったので set formatoptions+=mB
でやりました
doc/syntax.jax
Outdated
@@ -929,8 +960,9 @@ Cには幾つかの補助的なハイライト方法がある。それらを有 | |||
をエラーとして表示しない。 | |||
デフォルトでエラーとして表示される。欠落した | |||
")" を見つけられないため。 | |||
*c_curly_error* 対応する { がない } をハイライトする。これを有効にする | |||
と、ファイルの先頭から同期が始まるため、遅くなる | |||
*c_curly_error* 全てのペアを検証することにより対応する { がない } をハイ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
改行位置が違います。
PR後に .txt 更新されましたね。追加7行(うち、翻訳対象3行) |
追加分も対応しますー |
指摘いただいた部分修正しました |
doc/syntax.jax
Outdated
REGO *rego.vim* *ft-rego-syntax* | ||
|
||
Rego は Styra が開発したクエリ言語である。主に kubernetes のポリシー言語として | ||
使用される。次の拡張子のファイルが rego ファイルとして認識される: .rego |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
, but can be applied to almost anything.
が訳されていないです。
こんな感じでしょうか?
「主に kubernetes のポリシー言語として使用されるが、ほぼすべての言語に適用できる。」
(の言語
は補足的に足してみましたがあってます?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.openpolicyagent.org/ や https://www.openpolicyagent.org/docs/latest/integration/ を読んでいると、どちらかといえば "ほぼ全てのアプリケーションで" のほうが近いようです
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ライブラリが提供されているのも Go だけで、その他はサイドカーとしてエージェントを用意して、REST API を叩いて使うようです
というわけで再度修正しました! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
最後の修正後に本家の更新が入っていますが、あんまり長引くと疲れると思うので、一旦mergeしてもいいかなと思っています。
Thanks. |
TOhtmlProgress
ハイライトグループについての説明g:html_use_input_for_pc