Skip to content

Commit 1e464c7

Browse files
committed
vim74-kaoriya-win64-20141012
1 parent ac5c301 commit 1e464c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+3684
-4349
lines changed

CHANGES_kaoriya.txt

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
=== 20141012�̕ύX�_ ===
2+
3+
* �x�[�X�R�[�h��7.4.475�ɍX�V���܂���
4+
* contrib �X�V
5+
* vimdoc-ja (2014-10-11 fb6cbd2)
6+
* vimproc (2014-10-03 3e05502)
7+
* LuaJIT (2014-10-08 d6ff3af)
8+
9+
=== 20140916�̕ύX�_ ===
10+
11+
* �x�[�X�R�[�h��7.4.444�ɍX�V���܂���
12+
* contrib �X�V
13+
* vimdoc-ja (2014-09-11 41d4b0e)
14+
* vimproc (2014-09-09 21a79bf)
15+
* LuaJIT (2014-09-08 72c661e)
16+
* go-vim (2014-09-03 3b5ad2c)
17+
18+
=== 20140831�̕ύX�_ ===
19+
20+
* �x�[�X�R�[�h��7.4.430�ɍX�V���܂���
21+
* no caption�p�b�`���C�����܂���
22+
* contrib �X�V
23+
* vimdoc-ja (2014-08-31 8442881)
24+
* vimproc (2014-08-28 74e53c1)
25+
* LuaJIT (2014-08-05 e107525)
26+
* go-vim (2014-08-31 362c8ce)
27+
* �����I�ɃE�B���h�E�X�^�C����Aero�ɍ��킹�ĕύX���܂���
28+
* Issue: https://github.com/vim-jp/issues/issues/496
29+
* �x�[�X�Ƃ����p�b�`: http://goo.gl/13IoPd
30+
31+
=== 20140803�̕ύX�_ ===
32+
33+
* �x�[�X�R�[�h��7.4.389�ɍX�V���܂���
34+
* �R���p�C�����Ɏg�p����Python���A�b�v�f�[�g���܂���
35+
* 3.X: 3.4.1
36+
* 2.X: 2.7.8
37+
* contrib �X�V
38+
* vimdoc-ja (2014-08-02 cbd1196)
39+
* vimproc (2014-07-31 ca032f8)
40+
* LuaJIT (2014-07-24 92c32b7)
41+
142
=== 20140716�̕ύX�_ ===
243

344
* �x�[�X�R�[�h��7.4.364�ɍX�V���܂���

plugins/golang/README.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
Extra Vim plugins for Go
2+
========================
3+
4+
This is a collection of extra vim plugins for Go. This is based on go's official repository located at `misc/vim`.
5+
This plugins provides following feature:
6+
7+
* `:Godoc` command to open documentation window.
8+
* `:Fmt` command to format current buffer.
9+
* `:Import` command to add import statement.
10+
11+
And if you has installed some go utilities, this will add runtime path to the vim plugins which is the utilities provides.
12+
Below is the list of supported utilities.
13+
14+
* gocode (https://github.com/nsf/gocode)
15+
* lint (https://github.com/golang/lint)
16+
17+
Installation
18+
------------
19+
20+
To install using pathogen.vim:
21+
22+
cd ~/.vim/bundle
23+
git clone https://github.com/vim-jp/vim-go-extra.git
24+
25+
To install using [Vundle](https://github.com/gmarik/vundle):
26+
27+
" add this line to your .vimrc file
28+
Plugin 'vim-jp/vim-go-extra'
29+
30+
To checkout the source from repository:
31+
32+
cd ~/.vim/bundle
33+
git clone https://github.com/vim-jp/vim-go-extra.git
34+
35+
36+
Configuration
37+
-------------
38+
39+
A popular configuration is to gofmt Go source files when they are saved.
40+
To do that, add this line to the end of your $HOME/.vimrc.
41+
42+
autocmd FileType go autocmd BufWritePre <buffer> Fmt
43+
44+
License
45+
-------
46+
47+
Same as original plugins that go was provided. i.e. BSD

plugins/golang/autoload/go/complete.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ function! go#complete#Package(ArgLead, CmdLine, CursorPos)
5858
if executable('go')
5959
let goroot = substitute(system('go env GOROOT'), '\n', '', 'g')
6060
if v:shell_error
61-
echomsg '\'go env GOROOT\' failed'
61+
echomsg '''go env GOROOT'' failed'
6262
endif
6363
else
6464
let goroot = $GOROOT

plugins/golang/compiler/go.vim

Lines changed: 0 additions & 30 deletions
This file was deleted.

plugins/golang/ftdetect/gofiletype.vim

Lines changed: 0 additions & 23 deletions
This file was deleted.

plugins/golang/ftplugin/go.vim

Lines changed: 0 additions & 17 deletions
This file was deleted.

plugins/golang/ftplugin/go/fmt.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ function! s:GoFormat()
5757
endif
5858
undo
5959
if !empty(errors)
60-
call setloclist(0, errors, 'r')
60+
call setqflist(errors, 'r')
6161
endif
6262
echohl Error | echomsg "Gofmt returned error" | echohl None
6363
endif

plugins/golang/ftplugin/go/godoc.vim

Lines changed: 0 additions & 13 deletions
This file was deleted.

plugins/golang/indent/go.vim

Lines changed: 0 additions & 65 deletions
This file was deleted.

plugins/golang/plugin/extra.vim

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
if $GOPATH == ''
2+
finish
3+
endif
4+
5+
let s:extras = [
6+
\"github.com/nsf/gocode/vim",
7+
\"github.com/golang/lint/misc/vim",
8+
\"code.google.com/p/go.tools/cmd/misc/vim",
9+
\]
10+
11+
function! s:install_extras()
12+
let gopath = substitute($GOPATH, (has('win32') || has('win64')) ? ';' : ':', ',', 'g')
13+
let gopath = join(filter(map(s:extras, "
14+
\ globpath(gopath, 'src/' . v:val)
15+
\"), 'len(v:val)>0'), ',')
16+
if len(gopath) > 0
17+
exec 'set rtp+=' . gopath
18+
endif
19+
endfunction
20+
21+
call s:install_extras()
22+
delfunction s:install_extras
23+
unlet s:extras

0 commit comments

Comments
 (0)