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) => {