From e87b4a20f3f52c18636ee5b83043b898ea3ff3f1 Mon Sep 17 00:00:00 2001 From: danymat Date: Mon, 8 Nov 2021 20:53:10 +0100 Subject: [PATCH] (c) Use @brief when no results from TS --- lua/neogen/configurations/c.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/neogen/configurations/c.lua b/lua/neogen/configurations/c.lua index 66a189f..6620b44 100644 --- a/lua/neogen/configurations/c.lua +++ b/lua/neogen/configurations/c.lua @@ -107,7 +107,10 @@ return { use_default_comment = false, doxygen = { - { nil, "/* $1 */", { no_results = true } }, + { nil, "/**", { no_results = true } }, + { nil, " * @brief $1", { no_results = true } }, + { nil, " */", { no_results = true } }, + { nil, "/**" }, { nil, " * @brief $1" }, { nil, " *" },