basic theme, mini and completion tools. config still needed

This commit is contained in:
voidarclabs
2025-08-21 20:45:04 +01:00
parent 7f0f2b93f6
commit 7afd0cc72f
8 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
return {
"mfussenegger/nvim-lint",
config = function()
local lint = require("lint")
-- Explicitly define linters for each file type (without ast_grep)
lint.linters_by_ft = {
python = { "flake8" },
javascript = { "eslint" },
typescript = { "eslint" },
}
-- Auto-run the linter only for the configured filetypes
vim.api.nvim_create_autocmd("BufWritePost", {
pattern = "!*.lua",
callback = function()
local ft = vim.bo.filetype
if lint.linters_by_ft[ft] then
lint.try_lint()
end
end,
})
end,
}