From e687379efebac25f7b09f29ea54d31d1e60d3b2a Mon Sep 17 00:00:00 2001 From: kamecha Date: Mon, 9 Sep 2024 11:25:40 +0900 Subject: [PATCH] =?UTF-8?q?get=5Fmessage=E3=81=AE=E3=83=91=E3=82=B9?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=AB=E4=BC=B4=E3=81=86=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autoload/traqvim/command.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/autoload/traqvim/command.vim b/autoload/traqvim/command.vim index 83b7fa4..655495a 100644 --- a/autoload/traqvim/command.vim +++ b/autoload/traqvim/command.vim @@ -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 @@ -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