File tree Expand file tree Collapse file tree 5 files changed +53
-3
lines changed Expand file tree Collapse file tree 5 files changed +53
-3
lines changed Original file line number Diff line number Diff line change
1
+ Version 0.1.4
2
+ -------------
3
+ Released on Sep 10th 2017
4
+
5
+ - Fix bug
6
+
7
+ Template does not exist exception at set wildignore=*.txt
8
+
9
+ see https://github.com/heavenshell/vim-pydocstring/pull/32
10
+
11
+ Thx @demonye
12
+
1
13
Version 0.1.3
2
14
-------------
3
15
Released on Jul 18th 2017
Original file line number Diff line number Diff line change 1
1
" Insert Docstring.
2
2
" Author: Shinya Ohyanagi <sohyanagi@gmail.com>
3
- " Version: 0.1.3
3
+ " Version: 0.1.4
4
4
" WebPage: http://github.com/heavenshell/vim-pydocstriong/
5
5
" Description: Generate Python docstring to your Python script file.
6
6
" License: BSD, see LICENSE for more details.
Original file line number Diff line number Diff line change 1
1
*pydocstring.txt* Generate Python docstring to your Python code.
2
2
3
- Version: 0.1.3
3
+ Version: 0.1.4
4
4
Author: Shinya Ohynagi <sohyanagi@gmail.com>
5
5
Repository: http://github.com/heavenshell/vim-pydocstring/
6
6
License: BSD, see LICENSE for more details.
Original file line number Diff line number Diff line change 1
1
" File: pydocstring.vim
2
2
" Author: Shinya Ohyanagi <sohyanagi@gmail.com>
3
- " Version: 0.1.3
3
+ " Version: 0.1.4
4
4
" WebPage: http://github.com/heavenshell/vim-pydocstriong/
5
5
" Description: Generate Python docstring to your Python script file.
6
6
" License: BSD, see LICENSE for more details.
Original file line number Diff line number Diff line change
1
+ # vim:set et sw=4 ts=4 tw=79:
2
+ # Execute (Setup template dir):
3
+ # set wildignore=*.txt
4
+
5
+ Given python (template_dir does not exists):
6
+ def foo(arg1):
7
+ pass
8
+
9
+ Execute:
10
+ let templates_dir = g:pydocstring_templates_dir
11
+ Save g:pydocstring_templates_dir
12
+ let g:pydocstring_templates_dir = './notfound/'
13
+ :redir => ret
14
+ :Pydocstring
15
+ :redir END
16
+ let g:pydocstring_templates_dir = templates_dir
17
+ AssertEqual ret, "\nTemplate ./notfound/multi.txt does not exist."
18
+
19
+
20
+ Expect python:
21
+ def foo(arg1):
22
+ pass
23
+
24
+ Given python (set wildignore=*.txt):
25
+ def foo(arg1):
26
+ pass
27
+
28
+ Execute:
29
+ :set wildignore=*.txt
30
+ :Pydocstring
31
+
32
+ Expect python:
33
+ def foo(arg1):
34
+ """foo
35
+
36
+ :param arg1:
37
+ """
38
+ pass
You can’t perform that action at this time.
0 commit comments