From dc36b29b6f41e5d38898072d8b930516f0dd3131 Mon Sep 17 00:00:00 2001 From: Marco Herrn Date: Mon, 15 Apr 2019 16:05:15 +0200 Subject: [PATCH] End plugconf files with \n - Closes #258 --- plugconf/plugconf.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugconf/plugconf.go b/plugconf/plugconf.go index 5966474d..ab9a67d3 100644 --- a/plugconf/plugconf.go +++ b/plugconf/plugconf.go @@ -115,6 +115,8 @@ func (pi *ParsedInfo) GeneratePlugconf() ([]byte, error) { buf.WriteString(f) } + buf.WriteString("\n") + return buf.Bytes(), nil } @@ -695,6 +697,8 @@ endfunction } } + buf.WriteString("\n") + return buf.Bytes(), nil }