-
Notifications
You must be signed in to change notification settings - Fork 130
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
bug: injected formatter not working #187
Comments
I can also confirm that the injected formatter doesn't seem to be working on my end. I tested this with the latest Neovim nightly as well as stable and the injected formatters are not working on either. |
Bisecting the commits, it looks like it is since the new function formatter resolution commit: 0bbe838 |
I am trying to format a markdown file with injected Lua code. Here are the debug logs:
looks like it is getting a list of formatter tables rather than formatter names |
Should be fixed, thanks for the report! |
Thank you! |
Neovim version (nvim -v)
NVIM v0.10.0-dev-1496+g4c8fdc018b
Operating system/version
Arch Linux
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Describe the bug
The injected formatter doesn't appear to update the injected code in a markdown file
Steps To Reproduce
note there are closing backticks after the code block actually written as ``` (without the space)
3.
:w
write the file.4. The python code is not formatted
Expected Behavior
Get the code block formatted as
Minimal example file
No response
Minimal init.lua
Additional context
The text was updated successfully, but these errors were encountered: