Skip to content

Commit

Permalink
get_messageのパス変更に伴う修正の追加
Browse files Browse the repository at this point in the history
  • Loading branch information
kamecha committed Sep 9, 2024
1 parent a2e3ee9 commit e687379
Showing 1 changed file with 6 additions and 6 deletions.
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

0 comments on commit e687379

Please sign in to comment.