Skip to content

Commit 6ba949c

Browse files
authored
Merge pull request #1765 from h-east/update-syntax
Update syntax.{txt,jax}
2 parents fd8ee64 + 49939db commit 6ba949c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

doc/syntax.jax

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 20
1+
*syntax.txt* For Vim バージョン 9.1. Last change: 2024 Oct 22
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -5935,8 +5935,8 @@ types.vim: *.[ch]
59355935
更されない。"b:current_syntax" は構文ファイルによって変更されるが、
59365936
"b:current_syntax" を一時的に保存・復元することで値が変わらないようになってい
59375937
る。構文ファイルによって設定された値が "w:current_syntax" に代入される。
5938-
Note: この設定によって 'spell', 'spellcapcheck', 'spellfile' オプションは初期
5939-
設定に戻る
5938+
Note: この設定によって 'spell', 'spellcapcheck', 'spellfile' および
5939+
'spelloptions' オプションは初期設定に戻る
59405940

59415941
ウィンドウの独自構文が定義されると、同じバッファの他のウィンドウで実行された構
59425942
文コマンド (:syntax clear を含む) が影響しなくなる。逆に、そのウィンドウで実行

en/syntax.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 20
1+
*syntax.txt* For Vim version 9.1. Last change: 2024 Oct 22
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6142,7 +6142,8 @@ This will set the "w:current_syntax" variable to "foo". The value of
61426142
restoring "b:current_syntax", since the syntax files do set
61436143
"b:current_syntax". The value set by the syntax file is assigned to
61446144
"w:current_syntax".
6145-
Note: This resets the 'spell', 'spellcapcheck' and 'spellfile' options.
6145+
Note: This resets the 'spell', 'spellcapcheck', 'spellfile' and 'spelloptions'
6146+
options.
61466147

61476148
Once a window has its own syntax, syntax commands executed from other windows
61486149
on the same buffer (including :syntax clear) have no effect. Conversely,

0 commit comments

Comments
 (0)