mirror of
https://github.com/gabehf/nvim-conf.git
synced 2026-03-10 07:50:30 -07:00
update
This commit is contained in:
commit
6eb999b94f
11 changed files with 920 additions and 0 deletions
15
lua/configs/conform.lua
Normal file
15
lua/configs/conform.lua
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
local options = {
|
||||
formatters_by_ft = {
|
||||
lua = { "stylua" },
|
||||
-- css = { "prettier" },
|
||||
-- html = { "prettier" },
|
||||
},
|
||||
|
||||
-- format_on_save = {
|
||||
-- -- These options will be passed to conform.format()
|
||||
-- timeout_ms = 500,
|
||||
-- lsp_fallback = true,
|
||||
-- },
|
||||
}
|
||||
|
||||
require("conform").setup(options)
|
||||
Loading…
Add table
Add a link
Reference in a new issue