Does the extension need to manage typing Unicode characters? #2
-
|
Lean 4 syntax allows a range of mathematical Unicode characters to be used. Does the extension need to allow inserting these or should that be handled by a separate Zed extension or LSP provider? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
It can be supported by lean 4 snippets. The snippets can exist as a separate extension or be integrated into this extension. For more information, please check docs. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks -- they're good options. |
Beta Was this translation helpful? Give feedback.
-
|
Now Zed Lean 4 supports Abbreviation (unicode character) insertion by snippets. |
Beta Was this translation helpful? Give feedback.
-
|
Another approach is to use your operating system to let you type math unicode. That is what I do. Here are instructions for UNIX-like operating systems: https://castedo.gitlab.io/vim9-lean/math-input/ I imagine on MacOS and Windows there is something similar. |
Beta Was this translation helpful? Give feedback.
It can be supported by lean 4 snippets. The snippets can exist as a separate extension or be integrated into this extension.
For more information, please check docs.