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
Is there a way to prevent conform.nvim from adding trailing newlines at a global level?
Some formatters allow disabling / customizing this behavior but not all formatters support it.
Is there a way to make conform.nvim strip trailing newlines on BufWritePost for all fileformats?
The text was updated successfully, but these errors were encountered:
I'm also having problems with new lines at the end of files. In my case, I've set StyLua to format Lua files. By running stylua . on the command line, the formatter formats correctly (with no new line at the end). But, when calling formatting with Conform, even explicitly setting lsp_fallback to false, the code gets formatted with an ending new line.
Is there a way to prevent conform.nvim from adding trailing newlines at a global level?
Some formatters allow disabling / customizing this behavior but not all formatters support it.
Is there a way to make conform.nvim strip trailing newlines on BufWritePost for all fileformats?
The text was updated successfully, but these errors were encountered: