Commit 7629c50
authored
Small fix for rust-analyzer syntax highlighting of parameters for functions annotated with
This isn't a complete fix. Unfortunately, the parameters are now getting
assigned the semantic token type of `variable` instead of `parameter`
after this fix, which is only slightly better than `struct` semantic
token type that they were assigned before this fix.
This problem became worse after #269 which added unconditional two-level
macro expansion, after which I noticed this problem, although a little
later after that patch was released.
Created an issue in rust-analyzer repository to track this problem:
rust-lang/rust-analyzer#19556.#[builder] (#275)1 parent 4fcfdec commit 7629c50
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | 70 | | |
72 | | - | |
73 | 71 | | |
| 72 | + | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
0 commit comments