Skip to content

Instantly share code, notes, and snippets.

View 4513ECHO's full-sized avatar

Hibiki 4513ECHO

View GitHub Profile
{"id":1,"hoge":true}
{"id":2,"hoge":false}
{"id":3,"hoge":null}
#!/bin/sh
echo "AQUA_GLOBAL_CONFIG=$AQUA_GLOBAL_CONFIG"
echo "AQUA_CONFIG=$AQUA_CONFIG"
set -eux
export AQUA_LOG_LEVEL=debug
aqua --version
mkdir foo bar
cat << EOF | tee foo/aqua.yaml
# foo/aqua.yaml
registries:
@4513ECHO
4513ECHO / vim-lsp.log
Created August 13, 2022 11:45
vim-lsp-settings log of deno lsp
Sat 13 Aug 2022 08:44:05 PM JST:["lsp#register_server", "server registered", "deno"]
Sat 13 Aug 2022 08:44:05 PM JST:["lsp#register_server", "server already registered", "deno"]
Sat 13 Aug 2022 08:44:05 PM JST:["lsp#register_server", "server registered", "deno"]
Sat 13 Aug 2022 08:44:05 PM JST:["s:on_text_document_did_open()", 1, "typescript", "/home/hibiki/dotfiles/config/nvim", "file:///home/hibiki/dotfiles/config/nvim/%40%5Btest%5D.ts"]
Sat 13 Aug 2022 08:44:05 PM JST:["Starting server", "deno", ["/home/hibiki/.local/share/aquaproj-aqua/bin/deno", "lsp"]]
Sat 13 Aug 2022 08:44:05 PM JST:[{"response": {"data": {"__data__": "vim-lsp", "lsp_id": 3, "server_name": "deno"}, "message": "started lsp server successfully"}}]
Sat 13 Aug 2022 08:44:05 PM JST:["--->", 3, "deno", {"method": "initialize", "params": {"rootUri": "file:///home/hibiki/dotfiles", "initializationOptions": {"internalDebug": false, "unstable": true, "suggest": {"autoImports": true, "paths": true, "completeFunctionCalls": true, "names": true, "i
@4513ECHO
4513ECHO / @[test].ts
Created August 13, 2022 11:45
test file of deno lsp
function hoge() {}
@4513ECHO
4513ECHO / test_deno_lsp.vim
Created August 13, 2022 11:46
test vimrc of vim-lsp-settings and deno lsp
if &compatible
set nocompatible
endif
set rtp^=~/.cache/nvim/dein/repos/github.com/prabirshrestha/vim-lsp
set rtp^=~/.cache/nvim/dein/repos/github.com/mattn/vim-lsp-settings
let g:lsp_log_file = expand('<sfile>:p:h') .. '/vim-lsp.log'
let g:lsp_settings_filetype_typescript = 'deno'
@4513ECHO
4513ECHO / 蔵書目録.tsv
Last active September 3, 2022 13:07
家にあって人に貸せる本の ( 不完全な ) 一覧
タイトル 著者 備考 (シリーズ名, 巻数など)
空の境界 奈須きのこ (上)(中)(下)
裏世界ピクニック 宮澤伊織 1~7
再生 角川ホラー文庫ベストセレクション 綾辻行人 他
緋色の囁き 綾辻行人
7人の名探偵 綾辻行人 他
虚談 京極夏彦
氷菓 米澤穂信
ボトルネック 米澤穂信
満願 米澤穂信
xkb_keymap {
xkb_keycodes { include "evdev+aliases(qwerty)" };
xkb_types { include "complete" };
xkb_compat {
include "complete+japan"
// Sticky keys
interpret Shift_L+Any { action = LatchMods(modifiers = modMapMods); };
interpret Control_L+Any { action = LatchMods(modifiers = modMapMods); };
interpret Alt_L+Any { action = LatchMods(modifiers = modMapMods); };
interpret Super_L+Any { action = LatchMods(modifiers = modMapMods); };
import type { Denops } from "https://deno.land/x/[email protected]/mod.ts";
import { batch } from "https://deno.land/x/[email protected]/batch/mod.ts";
import { modifiable } from "https://deno.land/x/[email protected]/buffer/mod.ts";
export function main(denops: Denops): void {
denops.dispatcher = {
async modifiableTest(): Promise<void> {
await batch(denops, async (denops) => {
await modifiable(
denops,
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/pum.vim
let g:lines = []
autocmd CmdlineChanged * call add(g:lines, getcmdline())
call feedkeys(':')
call timer_start(100, { -> pum#open(getcmdpos(), [#{ word: 'foo' }]) })
call timer_start(200, { -> pum#map#select_relative(+1) })
call timer_start(300, { -> pum#map#confirm() })
" call timer_start(400, { -> feedkeys("\<C-u>\<CR>") })
call timer_start(500, { -> execute('echomsg g:lines', '') })
set rtp^=~/.cache/nvim/dein/repos/github.com/vim-denops/denops.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/vim-skk/skkeleton
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/pum.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddc.vim
set rtp^=~/.cache/nvim/dein/repos/github.com/Shougo/ddc-ui-pum
inoremap <C-j> <Plug>(skkeleton-toggle)
inoremap <C-n> <Cmd>call pum#map#select_relative(+1)<CR>
call skkeleton#config(#{