-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Tactic/Linter): lint unwanted unicode #16215
base: master
Are you sure you want to change the base?
Changes from 51 commits
3d6e8b0
0f95a33
e6352fe
d5943cc
74e37a7
aefad15
62cc53d
9d36e1d
9e51102
be9d70f
1472252
830171e
56fb85f
f5d463d
606bc57
507a8b4
cbe641d
7ff6eee
3d97a89
ac721ca
3a48f1f
ddd080d
e71bf1c
4dcf120
c6c16cf
905d317
4998828
b7bffc9
1359bbf
700ca64
721ab4c
e997a10
30f87b0
ba46390
041a588
bf2df64
2182aa2
e5d7b19
0508a0a
3dd2565
274a2dc
c068d8c
3239f31
333c0da
5cf7701
fbfaf02
c416e9a
761f6cf
35cf638
2cb92f1
56fbf50
0294d51
d48386a
47a8b55
063b3b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ def suggestSteps (pos : Array Lean.SubExpr.GoalsLocation) (goalType : Expr) (par | |
@[server_rpc_method] | ||
def CalcPanel.rpc := mkSelectionPanelRPC suggestSteps | ||
"Please select subterms." | ||
"Calc 🔍" | ||
"Calc 🔍️" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are also intended to be non-breaking; I think using the unicode escape would be appropriate here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same here, there is no space change, but the magnifying glass received a emoji-variant-selector because its specified in the list of emojis. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. For context, there are currently no non-breaking spaces in any parts of mathlib except in docstrings about condensed mathematics & cat. theory because Dagur's IDE automatically adds them after each closing ` And the dependency PRs fixing whitespace are mainly because Dagur's quite busy and commiting a lot :D |
||
|
||
/-- The calc widget. -/ | ||
@[widget_module] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these are genuinely intended to be non-breaking; the right solution is to put this in a code block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry these are about the text-variant-selector of the arrows characters, i.e. there were invisible
\uFE0E
following the diagonal arrows to prevent them form being displayed as emojis.There are no spaces changed here.
If they are supposed to have the variant-selector (which is a fair choice) then, they can be added to the list of text-symbols defined here and the variant-selectors will be fixed automatically by
lake exe lint-style --fix