Hi,
I believe the FormatDisable / FormatEnable commands do not work. After executing :FormatDisable, the buffer still gets formatted. However, :lua vim.g.disable_autoformat=true allows to correctly disable formatting (as expected).
I'm suspecting the usage of lsp-format (a plugin that is enabled here) causes this as it defines the same commands (but I'm only guessing).
Thanks for sharing your config!
EDIT: Changed wording for neutrality
Hi,
I believe the
FormatDisable/FormatEnablecommands do not work. After executing:FormatDisable, the buffer still gets formatted. However,:lua vim.g.disable_autoformat=trueallows to correctly disable formatting (as expected).I'm suspecting the usage of lsp-format (a plugin that is enabled here) causes this as it defines the same commands (but I'm only guessing).
Thanks for sharing your config!
EDIT: Changed wording for neutrality