mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-23 17:28:57 +02:00
feat(conform): set vim.opt.formatexpr
This commit is contained in:
parent
9b16770573
commit
766d5e5bf7
1 changed files with 1 additions and 0 deletions
|
@ -5,6 +5,7 @@ return {
|
|||
lazy = true,
|
||||
cmd = "ConformInfo",
|
||||
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.plugins.lsp.format").custom_format = function(buf)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue