diff options
author | succcubbus <[email protected]> | 2019-12-13 18:20:02 +0000 |
---|---|---|
committer | succcubbus <[email protected]> | 2019-12-13 18:20:02 +0000 |
commit | 4df741ecb2d00c3d8cdbc37d734ff5514dd5e7b0 (patch) | |
tree | d8a4177f80d4024a8de2622426cfcb3b795c2683 /crates/ra_syntax/src/parsing/lexer.rs | |
parent | ebc95af2b5b91239fc1d8a5fc8344ded6f6ef3e4 (diff) |
fix goto definition when inbetween tokens
fixes both goto_definition and goto_type_definition.
before, when running goto between some non-trivia token and an
identifier, goto would be attempted for the non-trivia token.
but this does not make sense for e.g. L_PAREN or COLONCOLON only for
IDENTs. now only IDENTs will be searched for in goto actions.
Diffstat (limited to 'crates/ra_syntax/src/parsing/lexer.rs')
0 files changed, 0 insertions, 0 deletions