Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
Merge pull request #330 from atom/b3-up-tree-sitter
Browse files Browse the repository at this point in the history
Scopes after ⬆️ tree-sitter-c and tree-sitter-cpp
  • Loading branch information
Ben3eeE committed Jun 25, 2019
2 parents fa2c84e + 64e41ae commit cbe1ab6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grammars/tree-sitter-cpp.cson
Expand Up @@ -115,6 +115,8 @@ scopes:
'"typename"': 'keyword.control'
'"try"': 'keyword.control'
'"catch"': 'keyword.control'
'"throw"': 'keyword.control'
'"__attribute__"': 'keyword.attribute'

'preproc_function_def > identifier:nth-child(1)': 'entity.name.function.preprocessor'
'preproc_arg': 'meta.preprocessor.macro'
Expand Down Expand Up @@ -182,6 +184,7 @@ scopes:
'"final"': 'storage.modifier'
'"override"': 'storage.modifier'
'"virtual"': 'storage.modifier'
'"noexcept"': 'storage.modifier'
'"mutable"': 'storage.modifier'

'";"': 'punctuation.terminator.statement'
Expand Down

0 comments on commit cbe1ab6

Please sign in to comment.