Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Completion support for Nushell #1857
base: main
Are you sure you want to change the base?
Completion support for Nushell #1857
Changes from 28 commits
a1431b2
594faef
2f276e3
1324e0c
37ac745
fa746d4
d86bac4
247e8e6
3b01684
4c4bde6
3bfdd64
ead0ff3
8cb9728
1a69a83
f963733
29af015
e7abbf3
7eac0e1
8b4aa59
7006719
982ba40
59726e2
18d7a29
2f80e08
1886f6b
ddb3992
470ca0a
93a4133
e0ac28f
14e642e
d728bbb
52185be
1df1dbd
da1bab9
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
The
includeDesc
variable is not used.What you need to do is simple, if
includeDesc == false
you want to use__completeNoDesc
in the script, instead of__complete
.If we have a single
cobra_completer
this won't really work as it will affect every program.Let's see where we end up with having different completers and revisit at that time.
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.
We could allow this to be set via an environment variable? Maybe something like this: