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

nixd/Controller: fix character number -> 0 #524

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Conversation

inclyc
Copy link
Member

@inclyc inclyc commented Jun 12, 2024

Nixpkgs meta.positions does not have any character information, only line numbers get retrieved.
Previously this number will be assigned with randomly, say, equals to line numbers.

This PR fixup that character number to zero as if there may be some rendering issue for neovim.

Fixes: #523

Nixpkgs meta.positions does not have any character information,
only line numbers get retrieved.
Previously this number will be assigned with randomly,
say, equals to line numbers.

This PR fixup that character number to zero as if there may be some
rendering issue for neovim.

Fixes: #523
@inclyc inclyc added bug Something isn't working nixd:controller labels Jun 12, 2024
@inclyc inclyc merged commit 6811dcf into main Jun 12, 2024
36 checks passed
@inclyc inclyc deleted the nixd/fix-pkg-char-range branch June 12, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working nixd:controller
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid range when going to package definition
1 participant