Closed stevearc closed 6 months ago
Oh that's really cool, looks better than #321. Question, does the ctx passed on lua/conform/formatters/rustfmt.lua:12 refers to the current buffer ? (learning :) )
Yes, the ctx
is created for the specific buffer being formatted. You can find the definition of that object here:
https://github.com/stevearc/conform.nvim/blob/db2c697fe8302f0328b50b480204be1b577a1e2f/lua/conform/init.lua#L47-L51
An alternative to #321 closes #320