Skip to content

Commit f34676f

Browse files
authored
Merge pull request #2248 from h-east/update-builtin
Update builtin.{txt,jax}
2 parents 86cc34a + 7a01795 commit f34676f

File tree

2 files changed

+33
-20
lines changed

2 files changed

+33
-20
lines changed

doc/builtin.jax

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Aug 08
1+
*builtin.txt* For Vim バージョン 9.1. Last change: 2025 Aug 10
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -7248,14 +7248,16 @@ matchbufline({buf}, {pat}, {lnum}, {end}, [, {dict}])
72487248
[{'lnum': 3, 'byteidx': 0, 'text': 'a'}]
72497249
" バッファ 10 の 4 行目に "tik tok" が含まれていると仮定
72507250
:echo matchbufline(10, '\<\k\+\>', 1, 4)
7251-
[{'lnum': 4, 'byteidx': 0, 'text': 'tik'}, {'lnum': 4, 'byteidx': 4, 'text': 'tok'}]
7251+
[{'lnum': 4, 'byteidx': 0, 'text': 'tik'},
7252+
{'lnum': 4, 'byteidx': 4, 'text': 'tok'}]
72527253
<
72537254
{submatch} が存在し、v:true の場合、"\1"、"\2" 等のサブマッチ
72547255
も返される。例: >
72557256
" バッファ 2 の 2 行目に "acd" が含まれていると仮定
72567257
:echo matchbufline(2, '\(a\)\?\(b\)\?\(c\)\?\(.*\)', 2, 2
72577258
\ {'submatches': v:true})
7258-
[{'lnum': 2, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
7259+
[{'lnum': 2, 'byteidx': 0, 'text': 'acd', 'submatches':
7260+
['a', '', 'c', 'd', '', '', '', '', '']}]
72597261
< "submatches" リストには常に 9 個のアイテムが含まれる。サブマッ
72607262
チが見つからない場合、そのサブマッチに対しては空文字列が返され
72617263
る。
@@ -7386,7 +7388,8 @@ matchfuzzypos({list}, {str} [, {dict}]) *matchfuzzypos()*
73867388
:echo matchfuzzypos(['clay', 'lacy'], 'la')
73877389
< 結果は [['lacy', 'clay'], [[0, 1], [1, 2]], [153, 133]] にな
73887390
る。 >
7389-
:echo [{'text': 'hello', 'id' : 10}]->matchfuzzypos('ll', {'key' : 'text'})
7391+
:echo [{'text': 'hello', 'id' : 10}]
7392+
\ ->matchfuzzypos('ll', {'key' : 'text'})
73907393
< 結果は [[{'id': 10, 'text': 'hello'}], [[2, 3]], [127]] にな
73917394
る。
73927395

@@ -7430,15 +7433,18 @@ matchstrlist({list}, {pat} [, {dict}])
74307433

74317434
例: >
74327435
:echo matchstrlist(['tik tok'], '\<\k\+\>')
7433-
[{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]
7436+
[{'idx': 0, 'byteidx': 0, 'text': 'tik'},
7437+
{'idx': 0, 'byteidx': 4, 'text': 'tok'}]
74347438
:echo matchstrlist(['a', 'b'], '\<\k\+\>')
7435-
[{'idx': 0, 'byteidx': 0, 'text': 'a'}, {'idx': 1, 'byteidx': 0, 'text': 'b'}]
7439+
[{'idx': 0, 'byteidx': 0, 'text': 'a'},
7440+
{'idx': 1, 'byteidx': 0, 'text': 'b'}]
74367441
<
74377442
"submatch" が存在し、v:true の場合、"\1"、"\2" 等のサブマッチ
74387443
も返される。例: >
74397444
:echo matchstrlist(['acd'], '\(a\)\?\(b\)\?\(c\)\?\(.*\)',
74407445
\ #{submatches: v:true})
7441-
[{'idx': 0, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
7446+
[{'idx': 0, 'byteidx': 0, 'text': 'acd',
7447+
'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
74427448
< "submatches" リストには常に 9 個のアイテムが含まれる。サブマッ
74437449
チが見つからない場合、そのサブマッチに対しては空文字列が返され
74447450
る。
@@ -8805,8 +8811,8 @@ remote_send({server}, {string} [, {idvar}]) *remote_send()* *E241*
88058811
Note: なんらかのエラーが発生すると、サーバー側で報告され、表示
88068812
が乱れてしまうかもしれない。
88078813
例: >
8808-
:echo remote_send("gvim", ":DropAndReply " .. file, "serverid") ..
8809-
\ remote_read(serverid)
8814+
:echo remote_send("gvim", ":DropAndReply " .. file,
8815+
\ "serverid") .. remote_read(serverid)
88108816

88118817
:autocmd NONE RemoteReply *
88128818
\ echo remote_read(expand("<amatch>"))

en/builtin.txt

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*builtin.txt* For Vim version 9.1. Last change: 2025 Aug 08
1+
*builtin.txt* For Vim version 9.1. Last change: 2025 Aug 10
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -6556,7 +6556,7 @@ libcall({libname}, {funcname}, {argument})
65566556
libcallnr({libname}, {funcname}, {argument})
65576557
Just like |libcall()|, but used for a function that returns an
65586558
int instead of a string.
6559-
{only in Win32 on some Unix versions, when the |+libcall|
6559+
{only in Win32 and some Unix versions, when the |+libcall|
65606560
feature is present}
65616561
Examples: >
65626562
:echo libcallnr("/usr/lib/libc.so", "getpid", "")
@@ -7350,14 +7350,16 @@ matchbufline({buf}, {pat}, {lnum}, {end}, [, {dict}])
73507350
[{'lnum': 3, 'byteidx': 0, 'text': 'a'}]
73517351
" Assuming line 4 in buffer 10 contains "tik tok"
73527352
:echo matchbufline(10, '\<\k\+\>', 1, 4)
7353-
[{'lnum': 4, 'byteidx': 0, 'text': 'tik'}, {'lnum': 4, 'byteidx': 4, 'text': 'tok'}]
7353+
[{'lnum': 4, 'byteidx': 0, 'text': 'tik'},
7354+
{'lnum': 4, 'byteidx': 4, 'text': 'tok'}]
73547355
<
73557356
If {submatch} is present and is v:true, then submatches like
73567357
"\1", "\2", etc. are also returned. Example: >
73577358
" Assuming line 2 in buffer 2 contains "acd"
73587359
:echo matchbufline(2, '\(a\)\?\(b\)\?\(c\)\?\(.*\)', 2, 2
73597360
\ {'submatches': v:true})
7360-
[{'lnum': 2, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
7361+
[{'lnum': 2, 'byteidx': 0, 'text': 'acd', 'submatches':
7362+
['a', '', 'c', 'd', '', '', '', '', '']}]
73617363
< The "submatches" List always contains 9 items. If a submatch
73627364
is not found, then an empty string is returned for that
73637365
submatch.
@@ -7494,7 +7496,8 @@ matchfuzzypos({list}, {str} [, {dict}]) *matchfuzzypos()*
74947496
< results in [['testing'], [[0, 2, 6]], [99]] >
74957497
:echo matchfuzzypos(['clay', 'lacy'], 'la')
74967498
< results in [['lacy', 'clay'], [[0, 1], [1, 2]], [153, 133]] >
7497-
:echo [{'text': 'hello', 'id' : 10}]->matchfuzzypos('ll', {'key' : 'text'})
7499+
:echo [{'text': 'hello', 'id' : 10}]
7500+
\ ->matchfuzzypos('ll', {'key' : 'text'})
74987501
< results in [[{'id': 10, 'text': 'hello'}], [[2, 3]], [127]]
74997502

75007503
Return type: list<list<any>>
@@ -7538,15 +7541,18 @@ matchstrlist({list}, {pat} [, {dict}])
75387541

75397542
Example: >
75407543
:echo matchstrlist(['tik tok'], '\<\k\+\>')
7541-
[{'idx': 0, 'byteidx': 0, 'text': 'tik'}, {'idx': 0, 'byteidx': 4, 'text': 'tok'}]
7544+
[{'idx': 0, 'byteidx': 0, 'text': 'tik'},
7545+
{'idx': 0, 'byteidx': 4, 'text': 'tok'}]
75427546
:echo matchstrlist(['a', 'b'], '\<\k\+\>')
7543-
[{'idx': 0, 'byteidx': 0, 'text': 'a'}, {'idx': 1, 'byteidx': 0, 'text': 'b'}]
7547+
[{'idx': 0, 'byteidx': 0, 'text': 'a'},
7548+
{'idx': 1, 'byteidx': 0, 'text': 'b'}]
75447549
<
75457550
If "submatches" is present and is v:true, then submatches like
75467551
"\1", "\2", etc. are also returned. Example: >
75477552
:echo matchstrlist(['acd'], '\(a\)\?\(b\)\?\(c\)\?\(.*\)',
75487553
\ #{submatches: v:true})
7549-
[{'idx': 0, 'byteidx': 0, 'text': 'acd', 'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
7554+
[{'idx': 0, 'byteidx': 0, 'text': 'acd',
7555+
'submatches': ['a', '', 'c', 'd', '', '', '', '', '']}]
75507556
< The "submatches" List always contains 9 items. If a submatch
75517557
is not found, then an empty string is returned for that
75527558
submatch.
@@ -8956,8 +8962,8 @@ remote_send({server}, {string} [, {idvar}]) *remote_send()* *E241*
89568962
Note: Any errors will be reported in the server and may mess
89578963
up the display.
89588964
Examples: >
8959-
:echo remote_send("gvim", ":DropAndReply " .. file, "serverid") ..
8960-
\ remote_read(serverid)
8965+
:echo remote_send("gvim", ":DropAndReply " .. file,
8966+
\ "serverid") .. remote_read(serverid)
89618967
89628968
:autocmd NONE RemoteReply *
89638969
\ echo remote_read(expand("<amatch>"))
@@ -13027,7 +13033,8 @@ python_dynamic Python 2.x interface is dynamically loaded. |has-python|
1302713033
python3 Python 3.x interface available. |has-python|
1302813034
python3_compiled Compiled with Python 3.x interface. |has-python|
1302913035
python3_dynamic Python 3.x interface is dynamically loaded. |has-python|
13030-
python3_stable Python 3.x interface is using Python Stable ABI. |has-python|
13036+
python3_stable Python 3.x interface is using Python Stable ABI.
13037+
|has-python|
1303113038
pythonx Python 2.x and/or 3.x interface available. |python_x|
1303213039
qnx QNX version of Vim.
1303313040
quickfix Compiled with |quickfix| support.

0 commit comments

Comments
 (0)