From 11018d4e710a623ee2c6ba974984994a7df8f621 Mon Sep 17 00:00:00 2001 From: danymat Date: Fri, 4 Feb 2022 10:16:41 +0100 Subject: [PATCH] (lua) Update configurations --- lua/neogen/templates/emmylua.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/neogen/templates/emmylua.lua b/lua/neogen/templates/emmylua.lua index 8148927..658c5a0 100644 --- a/lua/neogen/templates/emmylua.lua +++ b/lua/neogen/templates/emmylua.lua @@ -1,8 +1,8 @@ local i = require("neogen.types.template").item return { - { nil, "-$1", { type = { "class", "func" } } }, -- add this string only on requested types - { nil, "-$1", { no_results = true, type = { "class", "func" } } }, -- Shows only when there's no results from the granulator + { nil, "- $1", { type = { "class", "func" } } }, -- add this string only on requested types + { nil, "- $1", { no_results = true, type = { "class", "func" } } }, -- Shows only when there's no results from the granulator { nil, "-@module $1", { no_results = true, type = { "file" } } }, { nil, "-@author $1", { no_results = true, type = { "file" } } }, { nil, "-@license $1", { no_results = true, type = { "file" } } },