Fixed occasional crash on Sublime text, only get params when we use then

This commit is contained in:
Alexandros Naskos
2020-06-12 20:31:33 +03:00
parent 98ebac6d64
commit 04638a6d4d
2 changed files with 12 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ pub fn collectDocComments(
}
}
return try std.mem.join(allocator, if (format == .Markdown) "\\\n" else "\n", lines.items);
return try std.mem.join(allocator, if (format == .Markdown) " \n" else "\n", lines.items);
}
/// Gets a function signature (keywords, name, return value)