1
- *channel.txt* For Vim バージョン 9.1. Last change: 2023 Aug 15
1
+ *channel.txt* For Vim バージョン 9.1. Last change: 2024 Jun 06
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -503,6 +503,8 @@ ch_canread({handle}) *ch_canread()*
503
503
504
504
| method | としても使用できる: >
505
505
GetChannel()->ch_canread()
506
+ <
507
+ 戻り値の型: | Number |
506
508
507
509
ch_close({handle} ) *ch_close()*
508
510
{handle} を閉じる。| channel-close | を参照。
@@ -511,6 +513,8 @@ ch_close({handle}) *ch_close()*
511
513
512
514
| method | としても使用できる: >
513
515
GetChannel()->ch_close()
516
+ <
517
+ 戻り値の型: | Number |
514
518
515
519
ch_close_in({handle} ) *ch_close_in()*
516
520
{handle} の "入力" を閉じる。| channel-close-in | を参照。
@@ -519,6 +523,8 @@ ch_close_in({handle}) *ch_close_in()*
519
523
520
524
| method | としても使用できる: >
521
525
GetChannel()->ch_close_in()
526
+ <
527
+ 戻り値の型: | Number |
522
528
523
529
524
530
ch_evalexpr({handle} , {expr} [, {options} ]) *ch_evalexpr()*
@@ -542,6 +548,8 @@ ch_evalexpr({handle}, {expr} [, {options}]) *ch_evalexpr()*
542
548
543
549
| method | としても使用できる: >
544
550
GetChannel()->ch_evalexpr(expr)
551
+ <
552
+ 戻り値の型: dict<any> または | String |
545
553
546
554
547
555
ch_evalraw({handle} , {string} [, {options} ]) *ch_evalraw()*
@@ -559,6 +567,8 @@ ch_evalraw({handle}, {string} [, {options}]) *ch_evalraw()*
559
567
560
568
| method | としても使用できる: >
561
569
GetChannel()->ch_evalraw(rawstring)
570
+ <
571
+ 戻り値の型: dict<any> または | String |
562
572
563
573
ch_getbufnr({handle} , {what} ) *ch_getbufnr()*
564
574
文字列 {what} に使用されている {handle} のバッファ番号を得る。
@@ -569,6 +579,8 @@ ch_getbufnr({handle}, {what}) *ch_getbufnr()*
569
579
570
580
| method | としても使用できる: >
571
581
GetChannel()->ch_getbufnr(what)
582
+ <
583
+ 戻り値の型: | Number |
572
584
573
585
ch_getjob({channel} ) *ch_getjob()*
574
586
{channel} に関連付けられた Job を得る。
@@ -577,7 +589,8 @@ ch_getjob({channel}) *ch_getjob()*
577
589
578
590
| method | としても使用できる: >
579
591
GetChannel()->ch_getjob()
580
-
592
+ <
593
+ 戻り値の型: | job | または | String |
581
594
582
595
ch_info({handle} ) *ch_info()*
583
596
{handle} に関する情報を辞書で返す。アイテムは:
@@ -612,7 +625,8 @@ ch_info({handle}) *ch_info()*
612
625
613
626
| method | としても使用できる: >
614
627
GetChannel()->ch_info()
615
-
628
+ <
629
+ 戻り値の型: dict<any>
616
630
617
631
ch_log({msg} [, {handle} ]) *ch_log()*
618
632
| ch_logfile() | によってログファイルが開かれている場合はチャネ
@@ -627,7 +641,8 @@ ch_log({msg} [, {handle}]) *ch_log()*
627
641
628
642
| method | としても使用できる: >
629
643
'did something'->ch_log()
630
-
644
+ <
645
+ 戻り値の型: dict<any>
631
646
632
647
ch_logfile({fname} [, {mode} ]) *ch_logfile()*
633
648
{fname} へチャネルの挙動ログ出力を開始する。
@@ -655,7 +670,8 @@ ch_logfile({fname} [, {mode}]) *ch_logfile()*
655
670
656
671
| method | としても使用できる: >
657
672
'logfile'->ch_logfile('w')
658
-
673
+ <
674
+ 戻り値の型: | Number |
659
675
660
676
ch_open({address} [, {options} ]) *ch_open()*
661
677
{address} へのチャネルを開く。| channel | を参照。
@@ -670,7 +686,8 @@ ch_open({address} [, {options}]) *ch_open()*
670
686
671
687
| method | としても使用できる: >
672
688
GetAddress()->ch_open()
673
-
689
+ <
690
+ 戻り値の型: | channel |
674
691
675
692
ch_read({handle} [, {options} ]) *ch_read()*
676
693
{handle} から読み込みメッセージを受信する。
@@ -681,7 +698,8 @@ ch_read({handle} [, {options}]) *ch_read()*
681
698
682
699
| method | としても使用できる: >
683
700
GetChannel()->ch_read()
684
-
701
+ <
702
+ 戻り値の型: | String |
685
703
686
704
ch_readblob({handle} [, {options} ]) *ch_readblob()*
687
705
ch_read() と同様に動作するが、バイナリデータを読み込んで
@@ -690,7 +708,8 @@ ch_readblob({handle} [, {options}]) *ch_readblob()*
690
708
691
709
| method | としても使用できる: >
692
710
GetChannel()->ch_readblob()
693
-
711
+ <
712
+ 戻り値の型: | Blob |
694
713
695
714
ch_readraw({handle} [, {options} ]) *ch_readraw()*
696
715
ch_read() と同様に動作するが JS や JSON の場合でもメッセージは
@@ -700,7 +719,8 @@ ch_readraw({handle} [, {options}]) *ch_readraw()*
700
719
701
720
| method | としても使用できる: >
702
721
GetChannel()->ch_readraw()
703
-
722
+ <
723
+ 戻り値の型: | String |
704
724
705
725
ch_sendexpr({handle} , {expr} [, {options} ]) *ch_sendexpr()*
706
726
{handle} へ {expr} を送信する。{expr} はチャネル側と同じ型にエ
@@ -722,6 +742,8 @@ ch_sendexpr({handle}, {expr} [, {options}]) *ch_sendexpr()*
722
742
723
743
| method | としても使用できる: >
724
744
GetChannel()->ch_sendexpr(expr)
745
+ <
746
+ 戻り値の型: dict<any> または | String |
725
747
726
748
727
749
ch_sendraw({handle} , {expr} [, {options} ]) *ch_sendraw()*
@@ -734,7 +756,8 @@ ch_sendraw({handle}, {expr} [, {options}]) *ch_sendraw()*
734
756
735
757
| method | としても使用できる: >
736
758
GetChannel()->ch_sendraw(rawexpr)
737
-
759
+ <
760
+ 戻り値の型: dict<any> または | String |
738
761
739
762
ch_setoptions({handle} , {options} ) *ch_setoptions()*
740
763
{handle} にオプションを設定する:
@@ -752,7 +775,8 @@ ch_setoptions({handle}, {options}) *ch_setoptions()*
752
775
753
776
| method | としても使用できる: >
754
777
GetChannel()->ch_setoptions(options)
755
-
778
+ <
779
+ 戻り値の型: | Number |
756
780
757
781
ch_status({handle} [, {options} ]) *ch_status()*
758
782
{handle} の状態を返す:
@@ -772,6 +796,8 @@ ch_status({handle} [, {options}]) *ch_status()*
772
796
<
773
797
| method | としても使用できる: >
774
798
GetChannel()->ch_status()
799
+ <
800
+ 戻り値の型: | String |
775
801
776
802
==============================================================================
777
803
9. チャネルでジョブを開始する *job-start* *job*
@@ -904,6 +930,8 @@ job_getchannel({job}) *job_getchannel()*
904
930
<
905
931
| method | としても使用できる: >
906
932
GetJob()->job_getchannel()
933
+ <
934
+ 戻り値の型: | channel |
907
935
908
936
job_info([{job} ]) *job_info()*
909
937
{job} に関する情報を持つ辞書を返す:
@@ -932,6 +960,9 @@ job_info([{job}]) *job_info()*
932
960
933
961
| method | としても使用できる: >
934
962
GetJob()->job_info()
963
+ <
964
+ 戻り値の型: {job} が指定されたかどうかに依って、dict<any> また
965
+ は list<any>
935
966
936
967
937
968
job_setoptions({job} , {options} ) *job_setoptions()*
@@ -941,6 +972,8 @@ job_setoptions({job}, {options}) *job_setoptions()*
941
972
942
973
| method | としても使用できる: >
943
974
GetJob()->job_setoptions(options)
975
+ <
976
+ 戻り値の型: | Number |
944
977
945
978
946
979
job_start({command} [, {options} ]) *job_start()*
@@ -1003,6 +1036,8 @@ job_start({command} [, {options}]) *job_start()*
1003
1036
1004
1037
| method | としても使用できる: >
1005
1038
BuildCommand()->job_start()
1039
+ <
1040
+ 戻り値の型: | Number |
1006
1041
1007
1042
1008
1043
job_status({job} ) *job_status()* *E916*
@@ -1025,6 +1060,8 @@ job_status({job}) *job_status()* *E916*
1025
1060
1026
1061
| method | としても使用できる: >
1027
1062
GetJob()->job_status()
1063
+ <
1064
+ 戻り値の型: | job |
1028
1065
1029
1066
1030
1067
job_stop({job} [, {how} ]) *job_stop()*
@@ -1069,6 +1106,8 @@ job_stop({job} [, {how}]) *job_stop()*
1069
1106
1070
1107
| method | としても使用できる: >
1071
1108
GetJob()->job_stop()
1109
+ <
1110
+ 戻り値の型: | Number |
1072
1111
1073
1112
1074
1113
==============================================================================
0 commit comments