Skip to content

Commit

Permalink
Trivial if-else edit in completer/macro.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
James-Yu authored Jan 5, 2024
1 parent 7a0994c commit 71a80e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/completion/completer/macro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,7 @@ function parseAst(node: Ast.Node, filePath: string, defined?: Set<string>): CmdE
if (entry.type === 'string') {
if (entry.content === 'm') {
args += '{}'
}
if (entry.content === 'o' || entry.content === 'O') {
} else if (entry.content === 'o' || entry.content === 'O') {
args += '[]'
}
}
Expand Down

0 comments on commit 71a80e3

Please sign in to comment.