From 31031ca2bdcac4d8e2809e18979fd061e5d4571a Mon Sep 17 00:00:00 2001 From: Ronak Shah Date: Mon, 17 Feb 2020 14:36:10 +0530 Subject: [PATCH] fixing the issue for python comment style --- command.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/command.js b/command.js index d6315fc..dc5aa40 100644 --- a/command.js +++ b/command.js @@ -100,6 +100,7 @@ function insertFileHeaderComment(picked_template){ case "ruby": case "shellscript": case "yaml": + case "python": Object.assign(replace, { 'commentbegin': "#", 'commentprefix': "#", @@ -120,18 +121,11 @@ function insertFileHeaderComment(picked_template){ 'commentend': ";;" }); break; - case 'python': - Object.assign(replace, { - 'commentbegin': "'''", - 'commentprefix': "\b", - 'commentend': "'''" - }); - break; case "xml": case "html": Object.assign(replace, { 'commentbegin': "" }); break;