mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(format): set formatexpr in options so users can override it. Fixes #1759
This commit is contained in:
parent
fef0b3f756
commit
ff64cc5399
3 changed files with 10 additions and 2 deletions
|
@ -50,7 +50,6 @@ return {
|
|||
},
|
||||
},
|
||||
init = function()
|
||||
vim.o.formatexpr = "v:lua.require'conform'.formatexpr()"
|
||||
-- Install the conform formatter on VeryLazy
|
||||
require("lazyvim.util").on_very_lazy(function()
|
||||
require("lazyvim.util").format.register({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue