From 9d974103c464ab255b544b61d89dfb44c4f8fb2b Mon Sep 17 00:00:00 2001 From: Kevin Robayna Date: Thu, 18 Jul 2024 22:55:06 +0100 Subject: [PATCH] configure conform also using the global variable --- lua/lazyvim/plugins/extras/lang/ruby.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lua/lazyvim/plugins/extras/lang/ruby.lua b/lua/lazyvim/plugins/extras/lang/ruby.lua index b81109bf..83fdd28e 100644 --- a/lua/lazyvim/plugins/extras/lang/ruby.lua +++ b/lua/lazyvim/plugins/extras/lang/ruby.lua @@ -50,6 +50,16 @@ return { end, }, }, + { + "stevearc/conform.nvim", + optional = true, + opts = { + formatters_by_ft = { + ruby = { formatter }, + eruby = { "erb-format" }, + }, + }, + }, { "nvim-neotest/neotest", optional = true,