Skip to content

Commit

Permalink
fix: use eslint_d from none-ls-extras.nvim
Browse files Browse the repository at this point in the history
  • Loading branch information
mochaaP committed Feb 25, 2024
1 parent 3d018db commit 120bd91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/plugins/lsp/mason.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ return {
"williamboman/mason-lspconfig.nvim",
"jay-babu/mason-null-ls.nvim",
"nvimtools/none-ls.nvim",
"nvimtools/none-ls-extras.nvim",
"RubixDev/mason-update-all",
},
config = function()
Expand All @@ -17,7 +18,6 @@ return {
ensure_installed = {
-- Opt to list sources here, when available in mason.
"prettierd",
"eslint_d",
},
automatic_installation = { exclude = { "stylua", "gitsigns" } },
handlers = {},
Expand All @@ -28,6 +28,7 @@ return {
-- Anything not supported by mason.
null_ls.builtins.formatting.stylua,
null_ls.builtins.code_actions.gitsigns,
require('none-ls.diagnostics.eslint_d'),
},
-- Format on save using null-ls instead of lsp server.
on_attach = function(current_client, bufnr)
Expand Down

0 comments on commit 120bd91

Please sign in to comment.