feat: remove none-ls

I figured out how to make Vale work with nvim-lint which was my
preference.
This commit is contained in:
Devin Haska 2024-06-07 11:06:15 -07:00
parent bc2b8d99a4
commit 3550e0d209
No known key found for this signature in database

View file

@ -5,6 +5,7 @@ return {
events = { "BufWritePost", "BufReadPost", "InsertLeave" }, events = { "BufWritePost", "BufReadPost", "InsertLeave" },
linters_by_ft = { linters_by_ft = {
html = { "djlint" }, html = { "djlint" },
markdown = { "vale" },
javascript = { "eslint" }, javascript = { "eslint" },
typescript = { "eslint" }, typescript = { "eslint" },
javascriptreact = { "eslint" }, javascriptreact = { "eslint" },
@ -25,17 +26,4 @@ return {
}) })
end, end,
}, },
{
"nvimtools/none-ls.nvim",
event = { "BufWritePost", "BufReadPost", "InsertLeave" },
opts = function()
local null_ls = require("null-ls")
local diagnostics = null_ls.builtins.diagnostics
return {
sources = {
diagnostics.vale,
},
}
end,
},
} }