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.editor.aerial" },
|
||||||
{ import = "lazyvim.plugins.extras.formatting.prettier" },
|
{ import = "lazyvim.plugins.extras.formatting.prettier" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.json" },
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||||
|
{ import = "lazyvim.plugins.extras.lang.ruby" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
{ import = "lazyvim.plugins.extras.lang.tailwind" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
{ import = "lazyvim.plugins.extras.lang.yaml" },
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ return {
|
|||||||
markdown = { { "prettierd", "prettier" } },
|
markdown = { { "prettierd", "prettier" } },
|
||||||
mdx = { { "prettierd", "prettier" } },
|
mdx = { { "prettierd", "prettier" } },
|
||||||
python = { "isort", "black" },
|
python = { "isort", "black" },
|
||||||
|
ruby = { "rubyfmt", "rubocop" },
|
||||||
|
eruby = { "htmlbeautifier" },
|
||||||
svelte = { { "prettierd", "prettier" } },
|
svelte = { { "prettierd", "prettier" } },
|
||||||
typescript = { { "prettierd", "prettier" }, "eslint_d" },
|
typescript = { { "prettierd", "prettier" }, "eslint_d" },
|
||||||
typescriptreact = { { "prettierd", "prettier" }, "eslint_d" },
|
typescriptreact = { { "prettierd", "prettier" }, "eslint_d" },
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ return {
|
|||||||
javascript = { "eslint_d", "cspell" },
|
javascript = { "eslint_d", "cspell" },
|
||||||
javascriptreact = { "eslint_d", "cspell" },
|
javascriptreact = { "eslint_d", "cspell" },
|
||||||
python = { "pylint" },
|
python = { "pylint" },
|
||||||
|
ruby = { "rubocop" },
|
||||||
svelte = { "eslint_d" },
|
svelte = { "eslint_d" },
|
||||||
typescript = { "eslint_d", "cspell" },
|
typescript = { "eslint_d", "cspell" },
|
||||||
typescriptreact = { "eslint_d", "cspell" },
|
typescriptreact = { "eslint_d", "cspell" },
|
||||||
|
|||||||
@@ -15,12 +15,16 @@ return {
|
|||||||
"eslint-lsp",
|
"eslint-lsp",
|
||||||
"eslint_d",
|
"eslint_d",
|
||||||
"html-lsp",
|
"html-lsp",
|
||||||
|
"htmlbeautifier",
|
||||||
"isort",
|
"isort",
|
||||||
"json-lsp",
|
"json-lsp",
|
||||||
"lua-language-server",
|
"lua-language-server",
|
||||||
"prettier",
|
"prettier",
|
||||||
"prettierd",
|
"prettierd",
|
||||||
"pyright",
|
"pyright",
|
||||||
|
"rubocop",
|
||||||
|
"ruby",
|
||||||
|
"rubyfmt",
|
||||||
"shellcheck",
|
"shellcheck",
|
||||||
"stylua",
|
"stylua",
|
||||||
"svelte-language-server",
|
"svelte-language-server",
|
||||||
|
|||||||
Reference in New Issue
Block a user