• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

K.Takata's patch queue for Vim


Commit MetaInfo

Revisãocac30d3dcc2cc3df6cb7b7be77711d196e9d437d (tree)
Hora2024-03-29 11:03:29
AutorK.Takata <kentkt@csc....>
CommiterK.Takata

Mensagem de Log

Update for 9.1.0207

Fix conflicts.

Mudança Sumário

Diff

diff -r c1011b58a6ef -r cac30d3dcc2c wip-autocmd-searchhitbt.patch
--- a/wip-autocmd-searchhitbt.patch Mon Feb 19 14:49:02 2024 +0900
+++ b/wip-autocmd-searchhitbt.patch Fri Mar 29 11:03:29 2024 +0900
@@ -1,10 +1,10 @@
11 # HG changeset patch
2-# Parent 909bb0f575dc11518f781856d9a23197bdbb29ec
2+# Parent 797312af1e1ec30f0c3aabb5fcca62be9833a179
33
44 diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
55 --- a/runtime/doc/autocmd.txt
66 +++ b/runtime/doc/autocmd.txt
7-@@ -412,6 +412,9 @@ Name triggered by ~
7+@@ -414,6 +414,9 @@ Name triggered by ~
88 |TextChangedT| after a change was made to the text in Terminal mode
99 |TextYankPost| after text has been yanked or deleted
1010
@@ -14,7 +14,7 @@
1414 |SafeState| nothing pending, going to wait for the user to type a
1515 character
1616 |SafeStateAgain| repeated SafeState
17-@@ -1107,6 +1110,11 @@ SafeStateAgain Like SafeState but afte
17+@@ -1115,6 +1118,11 @@ SafeStateAgain Like SafeState but afte
1818 triggered often, don't do something that takes
1919 time.
2020
@@ -36,12 +36,12 @@
3636 + {"SearchHitBottom", EVENT_SEARCHHITBOTTOM},
3737 + {"SearchHitTop", EVENT_SEARCHHITTOP},
3838 {"SessionLoadPost", EVENT_SESSIONLOADPOST},
39+ {"SessionWritePost",EVENT_SESSIONWRITEPOST},
3940 {"ShellCmdPost", EVENT_SHELLCMDPOST},
40- {"ShellFilterPost", EVENT_SHELLFILTERPOST},
4141 diff --git a/src/search.c b/src/search.c
4242 --- a/src/search.c
4343 +++ b/src/search.c
44-@@ -1097,9 +1097,16 @@ searchit(
44+@@ -1055,9 +1055,16 @@ searchit(
4545 * written.
4646 */
4747 if (dir == BACKWARD) // start second loop at the other end
@@ -61,12 +61,12 @@
6161 diff --git a/src/vim.h b/src/vim.h
6262 --- a/src/vim.h
6363 +++ b/src/vim.h
64-@@ -1378,6 +1378,8 @@ enum auto_event
64+@@ -1410,6 +1410,8 @@ enum auto_event
6565 EVENT_REMOTEREPLY, // upon string reception from a remote vim
6666 EVENT_SAFESTATE, // going to wait for a character
6767 EVENT_SAFESTATEAGAIN, // still waiting for a character
6868 + EVENT_SEARCHHITBOTTOM, // hit bottom when searching
6969 + EVENT_SEARCHHITTOP, // hit top when searching
7070 EVENT_SESSIONLOADPOST, // after loading a session file
71+ EVENT_SESSIONWRITEPOST, // after writing a session file
7172 EVENT_SHELLCMDPOST, // after ":!cmd"
72- EVENT_SHELLFILTERPOST, // after ":1,2!cmd", ":w !cmd", ":r !cmd".