This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
atom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:neomake_typescript_tsc_maker = { | |
\ 'args': [ | |
\ '--project', getcwd(), '--noEmit' | |
\ ], | |
\ 'append_file': 0, | |
\ 'errorformat': | |
\ '%E%f %#(%l\,%c): error %m,' . | |
\ '%E%f %#(%l\,%c): %m,' . | |
\ '%Eerror %m,' . | |
\ '%C%\s%\+%m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let g:neomake_typescript_tsc_maker = { | |
\ 'args': [ | |
\ '--project', getcwd(), '--noEmit' | |
\ ], | |
\ 'append_file': 0, | |
\ 'errorformat': | |
\ '%E%f %#(%l\,%c): error %m,' . | |
\ '%E%f %#(%l\,%c): %m,' . | |
\ '%Eerror %m,' . | |
\ '%C%\s%\+%m' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git log --numstat --pretty="%H" --author='Hirokazu Hata' --since=YYYY-MM-DD --until=YYYY-MM-DD --no-merges | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("%d (+%d, -%d)\n", plus+minus, plus, minus)}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "active_support/lazy_load_hooks" | |
# ActiveSupport.on_load(:active_record) do | |
ActiveSupport.on_load(:bullet) do | |
require "active_record/precount/autosave_association_extension" | |
require "active_record/precount/base_extension" | |
require "active_record/precount/collection_proxy_extension" | |
require "active_record/precount/has_many_extension" | |
require "active_record/precount/relation_extension" | |
require "active_record/precount/reflection_extension" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in (ls); echo (string replace -ra 'foo' 'bar' $i); end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query GetPullRequestTimeline($pr_node_id: ID!, $first: Int = 1) { | |
node(id: $pr_node_id) { | |
... on PullRequest { | |
id | |
timeline(first: $first) { | |
edges { | |
node { | |
__typename | |
... on Commit { | |
...custom_commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query GetPullRequestTimeline($pr_node_id: ID!, $first: Int = 1) { | |
node(id: $pr_node_id) { | |
... on PullRequest { | |
id | |
timeline(first: $first) { | |
edges { | |
node { | |
__typename | |
... on Commit { | |
...custom_commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query GetIssueTimeline($issue_node_id: ID!, $first: Int = 100){ | |
node(id: $issue_node_id) { | |
... on Issue { | |
id | |
timeline(first: $first) { | |
edges { | |
node { | |
__typename | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function! LspMaybeHover(is_running) abort | |
if a:is_running.result && g:LanguageClient_autoHoverAndHighlightStatus | |
call LanguageClient_textDocument_hover() | |
endif | |
endfunction | |
function! LspMaybeHighlight(is_running) abort | |
if a:is_running.result && g:LanguageClient_autoHoverAndHighlightStatus | |
call LanguageClient#textDocument_documentHighlight() | |
endif |
OlderNewer