feat(format): new LazyVim formatter with integrations for lsp/none-ls/conform/eslint/...

This commit is contained in:
Folke Lemaitre 2023-10-10 19:31:08 +02:00
parent c8c929c9fd
commit f1a8f24a36
7 changed files with 225 additions and 148 deletions

View file

@ -2,6 +2,9 @@
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
-- Enable LazyVim auto format
vim.g.autoformat = true
local opt = vim.opt
opt.autowrite = true -- Enable auto write