lukas-reineke / lsp-format.nvim

A wrapper around Neovims native LSP formatting.
577 stars 28 forks source link

fix: `make_formatting_params` assumes the current buffer #93

Closed lukas-reineke closed 2 months ago

lukas-reineke commented 2 months ago

vim.lsp.util.make_formatting_params assumes the buffer the formatting params are generated for is the current buffer. in LSP-format this is not always the case.

fix #92 fix #58