Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasArvidsson committed Nov 19, 2023
1 parent 9412720 commit 098adb2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions packages/cursorless-engine/src/languages/typescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,6 @@ const nodeMatchers: Partial<
"method_definition",
),
),
// branch: cascadingMatcher(
// patternMatcher("switch_case"),
// matcher(patternFinder("else_clause"), elseExtractor("if_statement")),
// matcher(patternFinder("if_statement"), elseIfExtractor()),
// branchMatcher("try_statement", ["catch_clause", "finally_clause"]),
// ternaryBranchMatcher("ternary_expression", [1, 2]),
// ),
argumentOrParameter: argumentMatcher("formal_parameters", "arguments"),
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ initialState:
marks: {}
finalState:
documentContents: |-
if (false) {
else if (false) {
const whatever = "hello";
} else {
const whatever = "hello";
Expand Down

0 comments on commit 098adb2

Please sign in to comment.