commit 4bd38d303d47d2d3ae62b88d20e8212d1d449ccc
parent d6fe9dd19bef0cbb82ad38e45a933a684d5f14ad
Author: Alex Balgavy <alex@balgavy.eu>
Date: Mon, 2 Dec 2024 02:00:17 +0100
nvim: ruby stuff
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/nvim/lua/config/mason-lspconfig.lua b/nvim/lua/config/mason-lspconfig.lua
@@ -91,6 +91,7 @@ local servers = {
},
},
pyright = {},
+ rubocop = {},
-- solargraph = {},
-- bashls = {},
-- jdtls = {},
diff --git a/nvim/lua/plugins.lua b/nvim/lua/plugins.lua
@@ -415,6 +415,7 @@ return {
formatters_by_ft = {
rust = { "rustfmt", lsp_format = "fallback" },
python = { "ruff", lsp_format = "fallback" },
+ ruby = { "rubyfmt", lsp_format = "fallback" },
-- python = { "black", lsp_format = "fallback" },
-- -- lua = { 'stylua' },
-- -- Conform can also run multiple formatters sequentially