-
Notifications
You must be signed in to change notification settings - Fork 5
Pr snip not work #46
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
base: master
Are you sure you want to change the base?
Pr snip not work #46
Conversation
Looks good. Could you please remove 3 lines mentioned in other comment? And I'll merge. |
what's that? i did not get you.. 😄 |
you meant not to change snip dict's title which in snippets.json, those 3 lines? |
|
||
detail: info.description, | ||
insertText: info.body.join('\n'), | ||
insertTextFormat: InsertTextFormat.Snippet, |
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.
These 3 lines are unnecessary and added on CompletionResolve event with enrichWithSnippetDetails
function.
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.
actually have to, otherwise those are not snip items.
those are working for auto completion, vs compared to completionResolve looks those for manual omni completion.
Totaly forgot to submit review ;) |
and this pr is just trying to solve auto completion for snip from snippets.json |
and did not impl |
|
@Beaglefoot |
please refer bash-lsp/bash-language-server#897 (comment) |
closes #44