Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_messageのパス変更に伴う修正の追加 #108

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions autoload/traqvim/command.vim
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ function traqvim#command#message(args) abort
elseif a:args[0] ==# 'send'
call denops#request('traqvim', 'messageSend', [bufnr(), getline(1, '$')])
elseif a:args[0] ==# 'delete'
call denops#request('traqvim', 'messageDelete', [bufnr(), traqvim#get_message()])
call denops#request('traqvim', 'messageDelete', [bufnr(), traqvim#message#get_message()])
elseif a:args[0] ==# 'edit'
call denops#request('traqvim', 'messageEditOpen', [bufnr(), traqvim#get_message()])
call denops#request('traqvim', 'messageEditOpen', [bufnr(), traqvim#message#get_message()])
elseif a:args[0] ==# 'editApply'
call denops#request('traqvim', 'messageEdit', [getbufvar(bufname("%"), "editSourceBuffer"), getbufvar(bufname("%"), "message"), getline(1, '$')])
elseif a:args[0] ==# 'yankLink'
call denops#request('traqvim', 'yankMessageLink', [traqvim#get_message()])
call denops#request('traqvim', 'yankMessageLink', [traqvim#message#get_message()])
elseif a:args[0] ==# 'yankMarkdown'
call denops#request('traqvim', 'yankMessageMarkdown', [traqvim#get_message()])
call denops#request('traqvim', 'yankMessageMarkdown', [traqvim#message#get_message()])
endif
endfunction

Expand All @@ -116,9 +116,9 @@ endfunction

function traqvim#command#pin(args) abort
if a:args[0] ==# 'create'
call denops#request('traqvim', 'createPin', [bufnr(), traqvim#get_message()])
call denops#request('traqvim', 'createPin', [bufnr(), traqvim#message#get_message()])
elseif a:args[0] ==# 'remove'
call denops#request('traqvim', 'removePin', [bufnr(), traqvim#get_message()])
call denops#request('traqvim', 'removePin', [bufnr(), traqvim#message#get_message()])
endif
endfunction

Expand Down
Loading