123456789101112131415 |
- require("lint").linters_by_ft = {
- -- javascript = { "eslint_d" },
- -- typescript = { "eslint_d" },
- -- typescriptreact = { "eslint_d" },
- -- javascriptreact = { "eslint_d" },
- python = { "mypy" },
- }
- vim.api.nvim_create_autocmd({ "BufWritePost" }, {
- callback = function()
- require("lint").try_lint()
- end,
- })
|