golang deprecated funcs are not marked strikethrough, why? #1110
Unanswered
Littledarren
asked this question in
Q&A
Replies: 1 comment
-
Yep, having the same issue. It seems whatever makes the strikethrough ( |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I wrote a func like this, which is the recommended way to annotate as deprecated
and while completing this func, nvim-cmp does not show a strikethrough on the
xxx
.However, it do shows a strikethrough when i write comments like this
I'vs searched the google and found this golang/go#40447, which told that the deprecated status is not marked by gopls.
I concluded that this mark comes from the completion plugin and it seems to be not that smart as i expected.
Anyway, I wonder how can i strikethrough the depracated symbol. Which part of codes should I change?
Beta Was this translation helpful? Give feedback.
All reactions