feat(lsp): added nvim-lspconfig.opts.format_notify. Enable this to debug formatter issues.

This commit is contained in:
Folke Lemaitre
2023-05-26 10:51:07 +02:00
parent 962fc6bab4
commit 5eccaeb992
2 changed files with 41 additions and 0 deletions

View File

@ -35,6 +35,9 @@ return {
capabilities = {},
-- Automatically format on save
autoformat = true,
-- Enable this to show formatters used in a notification
-- Useful for debugging formatter issues
format_notify = false,
-- options for vim.lsp.buf.format
-- `bufnr` and `filter` is handled by the LazyVim formatter,
-- but can be also overridden when specified