1

Refresh generated neovim config

This commit is contained in:
2024-08-15 13:01:03 +02:00
parent 64b51cf53a
commit f5af8e2b28
1836 changed files with 38979 additions and 31094 deletions

View File

@ -20,11 +20,16 @@ return {
stream = 'stdout',
ignore_exitcode = true,
parser = function(output, bufnr)
if vim.trim(output) == "" then
local trimmed_output = vim.trim(output)
if trimmed_output == "" then
return {}
end
local decode_opts = { luanil = { object = true, array = true } }
local ok, data = pcall(vim.json.decode, output, decode_opts)
if string.find(trimmed_output, "No ESLint configuration found") then
vim.notify_once(trimmed_output, vim.log.levels.WARN)
return {}
end
if not ok then
return {
{

View File

@ -13,6 +13,7 @@ return {
cmd = "ruff",
stdin = true,
args = {
"check",
"--force-exclude",
"--quiet",
"--stdin-filename",