From ecb167ac26038a79b8d3352752d39e06b1fa2758 Mon Sep 17 00:00:00 2001 From: Andrew Date: Mon, 4 Nov 2024 23:55:31 -0500 Subject: [PATCH] filter out some blocks --- src/analysis/CtagsServerComponent.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/analysis/CtagsServerComponent.ts b/src/analysis/CtagsServerComponent.ts index 304c192..43f57f9 100644 --- a/src/analysis/CtagsServerComponent.ts +++ b/src/analysis/CtagsServerComponent.ts @@ -252,6 +252,7 @@ export class CtagsServerComponent ) } } + symbols = symbols.filter((sym) => !(sym.type === 'block' && sym.children.length == 0)) } let items = symbols.map((symbol: Symbol) => {