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

Fix metta completion #7

Merged
merged 3 commits into from
Feb 7, 2025
Merged

Conversation

jamesnvc
Copy link

@jamesnvc jamesnvc commented Feb 6, 2025

Making some changes to make the code completion in metta files give results. Previously it wasn't working because both the change tracking had bit-rotted slightly between implementations and looking up candidate symbols was still using the prolog xref rather than metta.

doc_text/2 doesn't seem to be used anywhere else; without this,
various other predicates use lsp_state:full_text/2 and
lsp_state:full_text_next/2 (both? I am somewhat unclear what the
difference is) and so don't see unsaved updates to files
Previously this was trying to use the prolog xref to look up metta
definitions which obviously isn't going to do anything terrible helpful.
@TeamSPoon TeamSPoon merged commit 2f3812f into logicmoo:master Feb 7, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants