80percent working state python

This commit is contained in:
Daveanand Mannie
2024-08-26 00:03:29 -04:00
parent 5764bd1392
commit e5dc5faaeb
6 changed files with 123 additions and 49 deletions

View File

@@ -1,14 +1,10 @@
return {
"mfussenegger/nvim-lint",
event = {
"BufReadPre",
"BufNewFile",
},
config = function()
local lint = require("lint")
lint.linters_by_ft = {
python = { "flake8" },
python = { "ruff" },
}
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
@@ -24,5 +20,4 @@ return {
lint.try_lint()
end, { desc = "Trigger linting for current file" })
end,
}