diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-10-26 10:28:48 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-26 10:28:48 +0000 |
commit | 6d80dfaabb00008062a16f7b9bf327c9fd4b72d1 (patch) | |
tree | 1787a2b36fafde4a7bddb8d515fad1c6885525cd /crates/hir_ty/src/db.rs | |
parent | eae54b5f72baa1c1331720b0a46fe8aab01f186b (diff) | |
parent | efdcfcfb61a64fee410268bed6a10bf3af7c781f (diff) |
Merge #6361
6361: Textmate grammar: angle bracket fix (closes #6323) r=dustypomerleau a=dustypomerleau
Fixes #6323
After tinkering, it became clear that `<` and `>` should really default to the punctuation interpretation in the vast majority of cases. In addition, the breakage is greater when an angle bracket is missed. So, rather than optimizing for a type parameter `meta` scope and considering every possible parent scope and child scope, the easier fix was to narrow the case where `<` and `>` are treated as comparison operators.
Co-authored-by: Dusty Pomerleau <[email protected]>
Diffstat (limited to 'crates/hir_ty/src/db.rs')
0 files changed, 0 insertions, 0 deletions