Skip to content

Instantly share code, notes, and snippets.


haya14busa haya14busa

Block or report user

Report or block haya14busa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View reading_vimrc_url_126.txt
haya14busa / main.go
Created Nov 1, 2016
サンプル: Golangにおけるinterfaceをつかったテストで mock を書く技法
View main.go
package main
import (
type GitHub interface {
CreateRelease(ctx context.Context, opt *Option) (string, error)
GetRelease(ctx context.Context, tag string) (string, error)
View vimrc_urls.txt
View 2018-06-16-071451.go
package main
import (
haya14busa / header
Created May 28, 2018
GitHub Apps installation webhook created event
View header
Request method: POST
content-type: application/json
User-Agent: GitHub-Hookshot/dc07019
X-GitHub-Delivery: dd769c30-626f-11e8-9a78-3c29358cdebf
X-GitHub-Event: installation
X-Hub-Signature: sha1=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
haya14busa / check_suite_requested.json
Created May 28, 2018
GitHub check suite requested webhook
View check_suite_requested.json
"action": "requested",
"check_suite": {
"id": 1327986,
"head_branch": "doghouse",
"head_sha": "42bb1f609122e6b79c5341119e06acb3dc7f5967",
"status": "queued",
"conclusion": null,
"url": "",
"before": "cd0964ac01b0111443ab510b01d0eeecdf652d3e",
View incsearch-fix.patch
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 717a01224..ac447b26e 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -1945,6 +1945,7 @@ cmdline_changed:
i = 0;
SET_NO_HLSEARCH(TRUE); /* turn off previous highlight */
+ redraw_all_later(SOME_VALID);
View vimrc-incsearch-highlight.vim
augroup vimrc-incsearch-highlight
autocmd CmdlineEnter [/\?] :set hlsearch
autocmd CmdlineLeave [/\?] :set nohlsearch
augroup END
View gist:ff1e09dbe8d21f7bc6731cdd37fe2d81
$ if [ -n "$ASAN_OPTIONS" ]; then for log in $(find -type f -name 'asan.*' -size +0); do cat "$log"; err=1; done; fi
==18516== ERROR: AddressSanitizer: heap-use-after-free on address 0x606e00104940 at pc 0x758f4e bp 0x7ffdd85f87c0 sp 0x7ffdd85f87b8
READ of size 8 at 0x606e00104940 thread T0
#0 0x758f4d (/home/travis/build/vim/vim/src/vim+0x758f4d)
#1 0x4bd4f8 (/home/travis/build/vim/vim/src/vim+0x4bd4f8)
#2 0x778703 (/home/travis/build/vim/vim/src/vim+0x778703)
#3 0x778d55 (/home/travis/build/vim/vim/src/vim+0x778d55)
#4 0x77985b (/home/travis/build/vim/vim/src/vim+0x77985b)
#5 0x506529 (/home/travis/build/vim/vim/src/vim+0x506529)
View inchlsearch.patch
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 56697d51d..b52f16bf3 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -4175,7 +4175,7 @@ A jump table for the options with a short description can be found at |Q_op|.
'highlight' option. This uses the "Search" highlight group by
default. Note that only the matching text is highlighted, any offsets
are not applied.
- See also: 'incsearch' and |:match|.
+ See also: 'incsearch', 'inchlsearch' and |:match|.
You can’t perform that action at this time.