alias - for ~ (#981)
This commit is contained in:
parent
524109056f
commit
8e41332dfa
2 changed files with 4 additions and 1 deletions
|
|
@ -125,7 +125,7 @@ export function patternifyAST(ast, code, onEnter, offset = 0) {
|
|||
return enter(ast.source_);
|
||||
}
|
||||
case 'atom': {
|
||||
if (ast.source_ === '~') {
|
||||
if (ast.source_ === '~' || ast.source_ === '-') {
|
||||
return strudel.silence;
|
||||
}
|
||||
if (!ast.location_) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue