Closed cryptomilk closed 4 months ago
Interesting, you should have been getting deprecation messages for a long time now. I changed the format of the args
and other functions, but added a backwards-compatibility shim with a deprecation message. This was removed recently in 8d91cf1fb5c53860f137439e2b4cb27cbe9f6a22
You'll need to define your function as args = function(self, ctx)
now
Neovim version (nvim -v)
0.9.5
Operating system/version
Fedora 39
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Describe the bug
I've used the
ctx.dirname
passed to the args function of the formatter to change the way how it works. This stopped working. It worked well in the past.What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce
nvim -u repro.lua samba/wurst.sh
:lua require('conform').format()
Expected Behavior
ctx.dirname should be set
Minimal example file
Minimal init.lua
Additional context
No response