From 8ccc729ce7f5ee68620cc1201b7730d324aad996 Mon Sep 17 00:00:00 2001 From: poslop Date: Tue, 10 Feb 2026 13:58:39 -0600 Subject: [PATCH] yaml --- lua/plugins/format.lua | 2 ++ readme.md | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/lua/plugins/format.lua b/lua/plugins/format.lua index 36c8d9e..d691889 100644 --- a/lua/plugins/format.lua +++ b/lua/plugins/format.lua @@ -17,6 +17,8 @@ return { opts = { formatters_by_ft = { lua = { "stylua" }, + yml = { "yamlfmt" }, + yaml = { "yamlfmt" }, }, default_format_opts = { lsp_format = "fallback", diff --git a/readme.md b/readme.md index 88d0a52..e00af4f 100644 --- a/readme.md +++ b/readme.md @@ -6,3 +6,8 @@ lua-language-server stylua ``` + +### **Yaml** +``` +yamlfmt +```