Skip to content

Commit 78e996d

Browse files
oxo42heavenshell
authored andcommitted
Fix double declaration of argTemplate (#26)
1 parent c6cf34a commit 78e996d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

autoload/pydocstring.vim

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ function! s:builddocstring(strs, indent, nested_indent)
168168
let template = line
169169
let typed = 0
170170
if match(arg, ':') != -1
171-
let argTemplate = s:readtmpl('arg')
172171
let argTemplate = join(s:readtmpl('arg'), '')
173172
let argParts = split(arg, ':')
174173
let argTemplate = substitute(argTemplate, '{{_name_}}', argParts[0], 'g')

0 commit comments

Comments
 (0)