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(lsp): renaming of flag variables #14890

Merged
merged 2 commits into from
Jan 22, 2025
Merged

fix(lsp): renaming of flag variables #14890

merged 2 commits into from
Jan 22, 2025

Conversation

blindFS
Copy link
Contributor

@blindFS blindFS commented Jan 22, 2025

Description

This PR fixes a bug: renaming on a flag variable removes the leading -- in the signature.

image

Gets the following before this PR:

export def foooo [
  p: int
] {
  $p
}

User-Facing Changes

Tests + Formatting

After Submitting

@fdncred
Copy link
Collaborator

fdncred commented Jan 22, 2025

oh, good catch. thanks

@fdncred fdncred merged commit 84c720d into nushell:main Jan 22, 2025
16 checks passed
@github-actions github-actions bot added this to the v0.102.0 milestone Jan 22, 2025
@fdncred fdncred added the LSP Language Server Protocol (nu-lsp) label Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
LSP Language Server Protocol (nu-lsp)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants