Skip to content

Commit

Permalink
Merge pull request #2323 from bhcleek/issue/config
Browse files Browse the repository at this point in the history
include vim-go config values in GitHub issue
  • Loading branch information
bhcleek authored May 29, 2019
2 parents 9f5799c + 31d1789 commit b16bd58
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions autoload/go/issue.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ function! s:issuebody() abort
endif
endfor

let body = add(body, "#### vim-go configuration:\n<details><summary>vim-go configuration</summary><br><pre>")

for k in keys(g:)
if k =~ '^go_'
let body = add(body, 'g:' . k . ' = ' . string(get(g:, k)))
endif
endfor

let body = add(body, '</pre></details>')

return join(body, "\n")
endfunction

Expand Down

0 comments on commit b16bd58

Please sign in to comment.