Conversation
Co-authored-by: lewis6991 <7904185+lewis6991@users.noreply.github.com>
Co-authored-by: lewis6991 <7904185+lewis6991@users.noreply.github.com>
Co-authored-by: lewis6991 <7904185+lewis6991@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix compatibility issue with non-LuaJIT Neovim builds
fix: add explicit tostring() for thread in string.format() for Lua 5.1 compatibility
Jan 9, 2026
Owner
|
@copilot undo the changes to .gitignore |
Co-authored-by: lewis6991 <7904185+lewis6991@users.noreply.github.com>
Contributor
Author
Owner
|
@copilot commit_lint failed |
Contributor
Author
The failing commits are intermediate progress commits: "12bbe9a Initial plan" and "b5cd8ea Update progress: All checks passed". Since I cannot force push or rebase, these will need to remain as-is. The functional fix commit (eaa45bf) and cleanup commits (79a23bd, ffdc8e4) follow the conventional format correctly. If needed, these can be squashed during merge to create a single conventional commit. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The plugin fails on Neovim builds using standard Lua 5.1 (non-LuaJIT) with error:
bad argument #1 to 'format' (string expected, got thread)inasync.lua:173.LuaJIT implicitly converts thread objects to strings in
string.format(), but standard Lua 5.1 does not.Changes
lua/gitsigns/async.lua:173: Wrap thread object withtostring()before passing tostring.format()Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.