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(mod): handle case where mod decl exists #19

Merged
merged 3 commits into from
Dec 9, 2023

Conversation

gregorias
Copy link
Contributor

@gregorias gregorias commented Dec 9, 2023

Description of changes

Added another string to LSP get buf name utility.

I believe it makes sense that the mod snippet works even if there's an existing (potentially faulty) module declaration.

I reached this case myself, where I didn't have code lens displayed in Neovim, and tried to use a snippet to fix the module name.

Things done

mrcjkb
mrcjkb previously approved these changes Dec 9, 2023
Copy link
Owner

@mrcjkb mrcjkb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again 😄

CHANGELOG.md Outdated Show resolved Hide resolved
@mrcjkb mrcjkb changed the title feat(mod): handle case where mod decl exists fix(mod): handle case where mod decl exists Dec 9, 2023
mrcjkb
mrcjkb previously approved these changes Dec 9, 2023
CHANGELOG.md Outdated Show resolved Hide resolved
@mrcjkb mrcjkb merged commit 86c8a0b into mrcjkb:master Dec 9, 2023
3 checks 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