Skip to content
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

Rust code completion #1266

Open
fepfitra opened this issue Feb 7, 2025 · 1 comment
Open

Rust code completion #1266

fepfitra opened this issue Feb 7, 2025 · 1 comment

Comments

@fepfitra
Copy link

fepfitra commented Feb 7, 2025

Sometimes I need to define a custom numbering like, BAB I, BAB II .. BAB IV. It evals rust syntax, right? Since I use tinymist as typist completion, the completion isn't appeared in rust inside typist. Has it already implemented? or when will it be implemented?

Image

@Myriad-Dreamin
Copy link
Owner

Myriad-Dreamin commented Feb 8, 2025

For some reason, the completion is valid only if

  • either the function's typing is inferred successfully,
  • or the function is invoked in your document.

The former one will be achieved utimately. But I'm working on improving project model of the language server so I may not be back soon.

The latter one is easier, you should put any heading after the show rule to call the function at least once.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants