From 8534af4a7938d6fb8e7cfe5314ad13943414a42e Mon Sep 17 00:00:00 2001 From: Willian Fernandes Date: Fri, 8 Nov 2024 09:56:05 -0300 Subject: [PATCH] fix(extras): use the correct naming when setting up eruby formatter (#4625) ## Description Eruby files (.*.erb) are not formatted because the formatter name is incorrect. This PR fixes it. ## Checklist - [x] I've read the [CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md) guidelines. --- lua/lazyvim/plugins/extras/lang/ruby.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazyvim/plugins/extras/lang/ruby.lua b/lua/lazyvim/plugins/extras/lang/ruby.lua index 6eb4fce5..d949e429 100644 --- a/lua/lazyvim/plugins/extras/lang/ruby.lua +++ b/lua/lazyvim/plugins/extras/lang/ruby.lua @@ -64,7 +64,7 @@ return { opts = { formatters_by_ft = { ruby = { formatter }, - eruby = { "erb-format" }, + eruby = { "erb_format" }, }, }, },