mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
feat(nvim): add formatting and linting for ruby
This commit is contained in:
@@ -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" },
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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" },
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user