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(format): for "attempt to index local 'signs' (a boolean value)" errors in nvim-0.10.1+ #579

Merged
merged 1 commit into from
Oct 2, 2024

Conversation

msva
Copy link
Contributor

@msva msva commented Sep 21, 2024

This PR fixes the error-spamming that happens on opening Trouble when vim.diagnostic.config().signs(0,0) somewhy returns boolean (but Trouble expects it to be a table)
image

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
…nvim-0.10.1+
@folke folke changed the title Fix for "attempt to index local 'signs' (a boolean value)" errors in nvim-0.10.1+ fix(format): for "attempt to index local 'signs' (a boolean value)" errors in nvim-0.10.1+ Oct 2, 2024
@folke folke merged commit 2e7cb80 into folke:main Oct 2, 2024
9 of 10 checks passed
@folke
Copy link
Owner

folke commented Oct 2, 2024

ty

folke pushed a commit that referenced this pull request Jan 28, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
🤖 I have created a release *beep* *boop*
---


##
[3.7.0](v3.6.0...v3.7.0)
(2025-01-15)


### Features

* **config:** add `close` counterparts to jump split actions
([#584](#584))
([928e6d0](928e6d0))
* **preview:** allow sources to decorate the preview buffer/window
([affd249](affd249))
* **sources:** added snacks picker source
([fa32f71](fa32f71))


### Bug Fixes

* **format:** for "attempt to index local 'signs' (a boolean value)"
errors in nvim-0.10.1+
([#579](#579))
([2e7cb80](2e7cb80))
* **lsp:** always use actual symbol kind names. See
[#568](#568)
([11bcbc0](11bcbc0))
* **lsp:** handle invalid line positions
([1a2efaf](1a2efaf))
* **lsp:** use new vim.str_byteindex if available to calculate start
positions of LSP ranges
([86746d2](86746d2))
* **lsp:** use old-style args for vim.str_byteindex. Fixes
[#604](#604)
([c633e85](c633e85))
* **snacks:** use filtered items instead of all
([2423cd2](2423cd2))


### Performance Improvements

* **debug:** don't create obj dumps
([1fe80c7](1fe80c7))
* **treesitter:** set regions early
([#587](#587))
([20aa858](20aa858))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

None yet

2 participants