You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @dvzubarev, sorry for the delayed response. At the moment this isn't supported, but it's definitely a feature I would be happy to see incorporated. I don't think it would be tremendously difficult, we probably just need to be a little more careful with how the formatting code interacts with the current buffer restriction. There's also of course the restriction that for formatters that require operating on the original file in-place in the project, we will end up formatting the entire buffer whether it's narrowed or not.
Thank you for your response. FWIW I remember that I made quick experiments with replace-buffer-contents (#38) and it seems to work fine with narrowed buffers.
Hi, thank you for this package.
I use python black formatter and one day I wanted to edit narrowed region.
Select the code inside
|
callM-x narrow-to-region
- you will see only:After editing and saving the narrowed buffer - the code disappears.
Call
M-x widen
and the content of the buffer will beEmacs 27.1, apheleia-20210723.516
The text was updated successfully, but these errors were encountered: