Skip to content

Commit 204c014

Browse files
committed
vim73-kaoriya-win64-20130706
1 parent 07a57f6 commit 204c014

File tree

8 files changed

+130
-193
lines changed

8 files changed

+130
-193
lines changed

CHANGES_kaoriya.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
=== 20130706�̕ύX�_ ===
2+
3+
* �x�[�X�R�[�h��7.3.1314�ɍX�V���܂���
4+
* FEATURES�𖢎w��(BIG)����HUGE�֕ύX���܂���
5+
* vimdoc-ja��(2013-07-06 3790a1c)�ɍX�V���܂���
6+
* vimproc��(2013-07-04 3ef9456)�ɍX�V���܂���
7+
* LuaJIT��(2013-06-20 88188d5)�ɍX�V���܂���
8+
* 7.3�n �ŏI�łł�
9+
10+
=== 20130624�̕ύX�_ ===
11+
12+
* �x�[�X�R�[�h��7.3.1237�ɍX�V���܂���
13+
114
=== 20130616�̕ύX�_ ===
215

316
* �x�[�X�R�[�h��7.3.1203�ɍX�V���܂���

README_kaoriya.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Version: 1.7.3
44
Author: MURAOKA Taro
55
Since: 23-Aug-1999
6-
Last Change: 16-Jun-2013.
6+
Last Change: 17-Jun-2013.
77

88
�T�v
99
Vim��vi�N���[���ɕ��ނ����e�L�X�g�G�f�B�^�ł��B
@@ -191,8 +191,7 @@ Vim
191191

192192
���m�̖��_
193193
* qkc��-nj�t���O�ŃR���o�[�g����JIS�t�@�C���͊J���Ȃ�(iconv.dll)
194-
* scrolloff�������̒��x�����̎��A�X�N���[����2�s�P�ʂɂȂ�
195-
* �������ݎ���NTFS�̃n�[�h�����N���؂��
194+
* scrolloff�������̒��x�����̎��A���ւ̃X�N���[����2�s�P�ʂɂȂ�
196195

197196
����E�A����
198197
���{��Vim���[�U������Google�O���[�v(vim_jp)���p�ӂ���Ă��܂��B�ǂ�ȂɊȒP

plugins/golang/plugin/godoc.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,11 @@ function! s:Godoc(...)
8080
if !len(words)
8181
return
8282
endif
83+
" Doc for imported package.
84+
if word =~ '/'
85+
call s:GodocWord(word)
86+
return
87+
end
8388
call s:GodocWord(words[0])
8489
if len(words) > 1
8590
if search('^\%(const\|var\|type\|\s\+\) ' . words[1] . '\s\+=\s')

plugins/vimdoc-ja/doc/spell.jax

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ zg カーソルの下の単語を正しい (good) 単語として、
7575
の項目を指定することができる。count として 2 を指定す
7676
ると、二番目の項目が使われる。
7777

78-
In Visual mode the selected characters are added as a
79-
word (including white space!).
80-
When the cursor is on text that is marked as badly
81-
spelled then the marked text is used.
78+
ビジュアルモードで選択された文字は単語として追加される
79+
(スペースを含む!)。
80+
When the cursor is on text that is marked as badly
81+
spelled then the marked text is used.
8282
Otherwise the word under the cursor, separated by
8383
non-word characters, is used.
8484

@@ -93,7 +93,7 @@ zG "zg" と同様であるが、その単語を内部単語リスト
9393
zw "zg" と同様であるが、間違った (wrong) 単語としてマーク
9494
する。もしその単語がすでに 'spellfile' にある場合は、
9595
コメント行に変更される。それらを取り除くには
96-
|spellfile-cleanup|を参照する。
96+
|spellfile-cleanup| を参照する。
9797

9898
*zW*
9999
zW "zw" と同様であるが、その単語を内部単語リスト
@@ -109,21 +109,21 @@ zuG |zW| や |zG| をundoして、内部単語リストからその単語を
109109

110110
*:spe* *:spellgood*
111111
:[count]spe[llgood] {word}
112-
Add {word} as a good word to 'spellfile', like with
113-
|zg|. Without count the first name is used, with a
114-
count of two the second entry, etc.
112+
|zg| と同様に、{word} を正しい単語として 'spellfile'
113+
に加える。 Without count the first name is used, with
114+
a count of two the second entry, etc.
115115

116-
:spe[llgood]! {word} Add {word} as a good word to the internal word list,
117-
like with |zG|.
116+
:spe[llgood]! {word} |zG| と同様に、{word} を正しい単語として内部単語リスト
117+
に加える。
118118

119119
*:spellw* *:spellwrong*
120120
:[count]spellw[rong] {word}
121-
Add {word} as a wrong (bad) word to 'spellfile', as
122-
with |zw|. Without count the first name is used, with
123-
a count of two the second entry, etc.
121+
|zw| と同様に、{word} を間違った (wrong) 単語として
122+
'spellfile' に加える。Without count the first name is
123+
used, with a count of two the second entry, etc.
124124

125-
:spellw[rong]! {word} Add {word} as a wrong (bad) word to the internal word
126-
list, like with |zW|.
125+
:spellw[rong]! {word} |zW| と同様に、{word} を間違った (wrong) 単語として内
126+
部単語リストに追加する。
127127

128128
:[count]spellu[ndo] {word} *:spellu* *:spellundo*
129129
Like |zuw|. [count] used as with |:spellgood|.
@@ -234,10 +234,10 @@ all the word lists are reloaded, thus you may notice a delay then too.
234234
en_nz ニュージーランド
235235
en_us アメリカ
236236

237-
Words that are not used in one region but are used in another region are
238-
highlighted with SpellLocal |hl-SpellLocal|.
237+
ある地域では使われないが別の地域では使われる単語は SpellLocal |hl-SpellLocal|
238+
でハイライトされる。
239239

240-
Always use lowercase letters for the language and region names.
240+
常に言語名や地域名には小文字を使う。
241241

242242
When adding a word with |zg| or another command it's always added for all
243243
regions. You can change that by manually editing the 'spellfile'. See

plugins/vimdoc-ja/doc/syntax.jax

Lines changed: 28 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -4889,51 +4889,49 @@ Setup→Font→Enable Boldが無効になっていることを確認すること
48894889
時間のかかっているシンタックスパターンを発見するために、以下の様な手順で概要を
48904890
得られる: >
48914891
4892-
:syntime on
4893-
[ CTRL-L で最低でも一度は再描画を実行する ]
4894-
:syntime report
4892+
:syntime on
4893+
[ CTRL-L で最低でも一度は再描画を実行する ]
4894+
:syntime report
48954895
48964896
これにより利用されたシンタックスパターンが、マッチにかかった時間の多い順にソー
48974897
トして表示される。
48984898

4899-
:syntime on シンタックスにかかる時間の測定を開始する。
4900-
測定をするにはシンタックスパターンのマッチに多少のオーバーヘッドが
4901-
発生する。
4899+
:syntime on シンタックスにかかる時間の測定を開始する。測定をするに
4900+
はシンタックスパターンのマッチに多少のオーバーヘッドが
4901+
発生する。
49024902

4903-
:syntime off シンタックスの計測を終了する。
4903+
:syntime off シンタックスの計測を終了する。
49044904

4905-
:syntime clear 全部のカウンタを 0 にし、計測をやり直す。
4905+
:syntime clear 全部のカウンタを 0 にし、計測をやり直す。
49064906

4907-
:syntime report 現在のウィンドウで ":syntime on" してから使用されたシンタ
4908-
ックス要素を表示する。
4909-
出力される内容をちゃんと読むには幅の広いディスプレイを使ったほうが
4910-
良い。
4907+
:syntime report 現在のウィンドウで ":syntime on" してから使用されたシ
4908+
ンタックス要素を表示する。出力される内容をちゃんと読む
4909+
には幅の広いディスプレイを使ったほうが良い。
49114910

4912-
リストは総時間(TOTAL)でソートされている。
4913-
リストには以下のカラムからなる:
4914-
TOTAL パターンのマッチにかかった総時間
4915-
COUNT パターンが使われた回数
4916-
MATCH パターンが実際にマッチした回数
4917-
SLOWEST マッチ1回あたりの最長時間
4918-
AVERAGE マッチ1回あたりの平均時間
4919-
NAME シンタックス要素の名前。
4920-
Note: 一意な名前ではないことに注意
4921-
PATTERN 使用されたパターン
4911+
リストは総時間(TOTAL)でソートされている。
4912+
リストには以下のカラムからなる:
4913+
TOTAL パターンのマッチにかかった総時間
4914+
COUNT パターンが使われた回数
4915+
MATCH パターンが実際にマッチした回数
4916+
SLOWEST マッチ1回あたりの最長時間
4917+
AVERAGE マッチ1回あたりの平均時間
4918+
NAME シンタックス要素の名前。Note:一意な名
4919+
前ではないことに注意
4920+
PATTERN 使用されたパターン
49224921

4923-
パターンマッチングは多くの可能性を試さなければならないときに遅くなる。
4924-
パターンにできる限り多くのリテラルテキストを含むことで、パターンが無駄にマッチ
4925-
する可能性を減らすよう試してみると良い
4922+
パターンマッチングは多くの可能性を試さなければならないときに遅くなる。パターン
4923+
にできる限り多くのリテラルテキストを含むことで、パターンが無駄にマッチする可能
4924+
性を減らすよう試してみると良い
49264925

49274926
"\@<=" や "\@<!" 要素を使用する時は、マッチする最大サイズを指定すると現在以降
49284927
の行の全部の位置でパターンを試すことを避けられる。
49294928
たとえば要素のマッチするものがリテラルテキストならば、そのテキストのサイズをバ
49304929
イト数で指定すると良い。
49314930

4932-
"<\@<=span" "<span" 中の "span" にマッチする。
4933-
これは "<" があるかどうか多くの場所でマッチを試みる。
4934-
(ゆえに遅くなりやすい)
4935-
"<\@1<=span" 同じものにマッチするが、"span" の前の1バイトだけをチェックする
4936-
4931+
"<\@<=span" "<span" 中の "span" にマッチする。これは "<" があるかどうか多
4932+
くの場所でマッチを試みる。(ゆえに遅くなりやすい)
4933+
"<\@1<=span" 同じものにマッチするが、"span" の前の1バイトだけをチェックす
4934+
る。
49374935

49384936

49394937
vim:tw=78:sw=4:ts=8:ft=help:norl:

plugins/vimproc/autoload/vimproc.vim

Lines changed: 54 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" FILE: vimproc.vim
33
" AUTHOR: Shougo Matsushita <[email protected]> (Modified)
44
" Yukihiro Nakadaira <yukihiro.nakadaira at gmail.com> (Original)
5-
" Last Modified: 15 Jun 2013.
5+
" Last Modified: 25 Jun 2013.
66
" License: MIT license {{{
77
" Permission is hereby granted, free of charge, to any person obtaining
88
" a copy of this software and associated documentation files (the
@@ -662,14 +662,20 @@ function! vimproc#host_exists(host) "{{{
662662
endfunction"}}}
663663

664664
function! vimproc#kill(pid, sig) "{{{
665+
if a:sig == 0 && vimproc#util#is_windows()
666+
" Use waitpid().
667+
let [cond, status] = s:waitpid(a:pid)
668+
return cond ==# 'run'
669+
endif
670+
665671
try
666-
call s:libcall('vp_kill', [a:pid, a:sig])
672+
let [ret] = s:libcall('vp_kill', [a:pid, a:sig])
667673
catch /kill() error:/
668674
let s:last_errmsg = v:exception
669675
return 1
670676
endtry
671677

672-
return 0
678+
return ret
673679
endfunction"}}}
674680

675681
function! vimproc#decode_signal(signal) "{{{
@@ -812,12 +818,6 @@ function! vimproc#delete_trash(filename) "{{{
812818

813819
let filename = a:filename
814820

815-
" Delete last /.
816-
if filename =~ '[^:]/$'
817-
" Delete last /.
818-
let filename = filename[: -2]
819-
endif
820-
821821
if !filewritable(filename) && !isdirectory(filename)
822822
return 1
823823
endif
@@ -826,6 +826,12 @@ function! vimproc#delete_trash(filename) "{{{
826826
let filename = substitute(
827827
\ fnamemodify(filename, ':p'), '/', '\\', 'g')
828828

829+
" Delete last /.
830+
if filename =~ '[^:][/\\]$'
831+
" Delete last /.
832+
let filename = filename[: -2]
833+
endif
834+
829835
" Encoding conversion.
830836
let filename = vimproc#util#iconv(filename,
831837
\ &encoding, vimproc#util#termencoding())
@@ -1126,12 +1132,36 @@ function! s:split(str, sep)
11261132
return result
11271133
endfunction
11281134

1135+
function! s:split_lua(str, sep)
1136+
let result = []
1137+
lua << EOF
1138+
do
1139+
local pos = 1
1140+
local result = vim.eval('result')
1141+
local str = vim.eval('a:str')
1142+
local sep = vim.eval('a:sep')
1143+
local tmp = string.find(str, sep, pos, true)
1144+
1145+
while tmp ~= nil do
1146+
result:add(string.sub(str, pos, tmp-1))
1147+
pos = tmp + 1
1148+
tmp = string.find(str, sep, pos, true)
1149+
end
1150+
1151+
result:add(string.sub(str, pos))
1152+
end
1153+
EOF
1154+
1155+
return result
1156+
endfunction
1157+
11291158
function! s:libcall(func, args) "{{{
11301159
" End Of Value
11311160
let EOV = "\xFF"
11321161
let args = empty(a:args) ? '' : (join(reverse(copy(a:args)), EOV) . EOV)
11331162
let stack_buf = libcall(g:vimproc#dll_path, a:func, args)
1134-
let result = s:split(stack_buf, EOV)
1163+
let result = vimproc#util#has_lua() ?
1164+
\ s:split_lua(stack_buf, EOV) : s:split(stack_buf, EOV)
11351165
if !empty(result) && result[-1] != ''
11361166
if stack_buf[len(stack_buf) - 1] ==# EOV
11371167
" Note: If &encoding equals "cp932" and output ends multibyte first byte,
@@ -1418,29 +1448,31 @@ function! s:vp_set_winsize(width, height) dict
14181448
endfunction
14191449

14201450
function! s:vp_kill(sig) dict
1421-
call s:close_all(self)
1451+
if a:sig != 0
1452+
call s:close_all(self)
1453+
let self.is_valid = 0
1454+
endif
14221455

1423-
let self.is_valid = 0
1456+
let ret = 0
1457+
for pid in get(self, 'pid_list', [self.pid])
1458+
let ret = vimproc#kill(pid, a:sig)
1459+
endfor
14241460

1425-
if has_key(self, 'pid_list')
1426-
for pid in self.pid_list
1427-
call vimproc#kill(pid, a:sig)
1428-
endfor
1429-
else
1430-
call vimproc#kill(self.pid, a:sig)
1431-
endif
1461+
return ret
14321462
endfunction
14331463

14341464
function! s:vp_pgroup_kill(sig) dict
1435-
call s:close_all(self)
1436-
let self.is_valid = 0
1465+
if a:sig != 0
1466+
call s:close_all(self)
1467+
let self.is_valid = 0
1468+
endif
14371469

14381470
if self.pid == 0
14391471
" Ignore.
14401472
return
14411473
endif
14421474

1443-
call self.current_proc.kill(a:sig)
1475+
return self.current_proc.kill(a:sig)
14441476
endfunction
14451477

14461478
function! s:waitpid(pid)
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)