continue;
}
String name = macro.getMacroName();
String tag = "n:" + name;
if(tag.startsWith(filter)) {
list.add(new MacroCompletionItem(tag, startOffset, caretOffset, true));
}
tag = "n:inner-" + name;
if(tag.startsWith(filter)) {
list.add(new MacroCompletionItem(tag, startOffset, caretOffset, true));
}
tag = "n:tag-" + name;
if(tag.startsWith(filter)) {
list.add(new MacroCompletionItem(tag, startOffset, caretOffset, true));
}
}
for(LatteMacro macro : MacroDefinitions.nAttrs) {
String tag = "n:" + macro.getMacroName();
if(tag.startsWith(filter)) {
list.add(new MacroCompletionItem(tag, startOffset, caretOffset, true));
}
}
return list;
}