I noticed that after running vim.lsp.buf.format() that the styling of the newly formatted lines was no longer visible until I refreshed by entering and exiting insert mode. I don't know if there's a hook or something to re-apply the styling afterwards or not.
I noticed that after running
vim.lsp.buf.format()
that the styling of the newly formatted lines was no longer visible until I refreshed by entering and exiting insert mode. I don't know if there's a hook or something to re-apply the styling afterwards or not.