From bba53b05a85e4ccad2eca31124ea9d0b80b4e392 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sat, 24 Feb 2018 10:45:06 +0100 Subject: Customize the number of lines to get Fix #52 --- src/Config.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Config.ts') diff --git a/src/Config.ts b/src/Config.ts index cce8f72..3a98a71 100644 --- a/src/Config.ts +++ b/src/Config.ts @@ -19,6 +19,7 @@ export class Config { values.paramTemplate = cfg.get("paramTemplate", values.paramTemplate); values.tparamTemplate = cfg.get("tparamTemplate", values.tparamTemplate); values.returnTemplate = cfg.get("returnTemplate", values.returnTemplate); + values.linesToGet = cfg.get("linesToGet", values.linesToGet); return values; } @@ -39,4 +40,5 @@ export class Config { public paramTemplate: string = "@param {param} "; public tparamTemplate: string = "@tparam {param} "; public returnTemplate: string = "@return {type} "; + public linesToGet: number = 20; } -- cgit v1.2.3