Skip to content

Commit b65179b

Browse files
committed
Merge branch 'ning-yang-master'
2 parents a34cdc6 + 07580a3 commit b65179b

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

CHANGES.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
Version 0.0.8
2+
-------------
3+
Released on Sep 1th 2016
4+
5+
- Fix add expand to allow relative path
6+
see https://github.com/heavenshell/vim-pydocstring/pull/12
7+
thx @ning-yang
8+
19
Version 0.0.7
210
-------------
311
Released on June 1th 2016

autoload/pydocstring.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" Insert Docstring.
22
" Author: Shinya Ohyanagi <sohyanagi@gmail.com>
3-
" Version: 0.0.7
3+
" Version: 0.0.8
44
" License: This file is placed in the public domain.
55
" WebPage: http://github.com/heavenshell/vim-pydocstriong/
66
" Description: Generate Python docstring to your Python script file.
@@ -31,7 +31,7 @@ let s:regexs = {
3131
\ }
3232

3333
function! s:readtmpl(type)
34-
let path = s:tmpldir . a:type . '.txt'
34+
let path = expand(s:tmpldir . a:type . '.txt')
3535
if !filereadable(path)
3636
throw 'Template ' . path . ' is not exists.'
3737
endif

doc/pydocstring.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
*pydocstring.txt* Generate Python docstring to your Python code.
22

3-
Version: 0.0.6
3+
Version: 0.0.8
44
Author: Shinya Ohynagi <sohyanagi@gmail.com>
55
Repository: http://github.com/heavenshell/vim-pydocstring/
66
License: BSD, see LICENSE for more details.

ftplugin/python/pydocstring.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
" File: pydocstring.vim
22
" Author: Shinya Ohyanagi <sohyanagi@gmail.com>
3-
" Version: 0.0.7
3+
" Version: 0.0.8
44
" WebPage: http://github.com/heavenshell/vim-pydocstriong/
55
" Description: Generate Python docstring to your Python script file.
66
" License: BSD, see LICENSE for more details.

0 commit comments

Comments
 (0)