Add eslint and prettier

This commit is contained in:
Marcus Ho 2025-03-05 14:40:03 +08:00 committed by Marcus
parent ca8353f770
commit 996c0683bf
1 changed files with 8 additions and 1 deletions

View File

@ -711,6 +711,11 @@ require('lazy').setup({
-- ts_ls = {},
--
prettierd = {},
eslint_d = {},
lua_ls = {
-- cmd = { ... },
-- filetypes = { ... },
@ -799,7 +804,9 @@ require('lazy').setup({
-- python = { "isort", "black" },
--
-- You can use 'stop_after_first' to run the first available formatter from the list
-- javascript = { "prettierd", "prettier", stop_after_first = true },
javascript = { 'prettierd', 'eslint_d', stop_after_first = true },
typescript = { 'prettierd', 'eslint_d', stop_after_first = true },
vue = { 'prettierd', 'eslint_d', stop_after_first = true },
},
},
},