Skip to content

Commit

Permalink
remove unused comments_context
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Nov 13, 2020
1 parent ddc1a81 commit f074a48
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 17 deletions.
4 changes: 1 addition & 3 deletions source/shared_patterns/assembly.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ def assembly_pattern(std_space, identifier)
# blank line
Pattern.new(@start_of_line.then(std_space).then(@end_of_line)),
# comments
:comments_context,
:comments,
# outer most parens
PatternRange.new(
Expand Down Expand Up @@ -74,10 +73,9 @@ def assembly_pattern(std_space, identifier)
match: /:/,
tag_as: "punctuation.separator.delimiter.colon.assembly",
),
:comments_context,
:comments,
],
),
],
)
end
end
6 changes: 0 additions & 6 deletions syntaxes/c.tmLanguage.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion syntaxes/cpp.embedded.macro.tmLanguage.json

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions syntaxes/cpp.tmLanguage.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f074a48

Please sign in to comment.