feat(nvim): add formatting and linting for ruby

This commit is contained in:
Stefan Imhoff
2024-03-13 20:50:26 +01:00
parent 01d3feb2a4
commit e8922d5fde
4 changed files with 8 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ require("lazy").setup({
{ import = "lazyvim.plugins.extras.editor.aerial" },
{ import = "lazyvim.plugins.extras.formatting.prettier" },
{ import = "lazyvim.plugins.extras.lang.json" },
{ import = "lazyvim.plugins.extras.lang.ruby" },
{ import = "lazyvim.plugins.extras.lang.tailwind" },
{ import = "lazyvim.plugins.extras.lang.typescript" },
{ import = "lazyvim.plugins.extras.lang.yaml" },

View File

@@ -40,6 +40,8 @@ return {
markdown = { { "prettierd", "prettier" } },
mdx = { { "prettierd", "prettier" } },
python = { "isort", "black" },
ruby = { "rubyfmt", "rubocop" },
eruby = { "htmlbeautifier" },
svelte = { { "prettierd", "prettier" } },
typescript = { { "prettierd", "prettier" }, "eslint_d" },
typescriptreact = { { "prettierd", "prettier" }, "eslint_d" },

View File

@@ -25,6 +25,7 @@ return {
javascript = { "eslint_d", "cspell" },
javascriptreact = { "eslint_d", "cspell" },
python = { "pylint" },
ruby = { "rubocop" },
svelte = { "eslint_d" },
typescript = { "eslint_d", "cspell" },
typescriptreact = { "eslint_d", "cspell" },

View File

@@ -15,12 +15,16 @@ return {
"eslint-lsp",
"eslint_d",
"html-lsp",
"htmlbeautifier",
"isort",
"json-lsp",
"lua-language-server",
"prettier",
"prettierd",
"pyright",
"rubocop",
"ruby",
"rubyfmt",
"shellcheck",
"stylua",
"svelte-language-server",