Compare commits
No commits in common. "c77982315217add9f6e7250c98563f8f0acb1993" and "4aba933e69ad447006b9782b74e9066f385341bf" have entirely different histories.
c779823152
...
4aba933e69
|
@ -55,9 +55,9 @@ vim.api.nvim_create_autocmd("LspAttach", {
|
||||||
bufmap("n", "gl", "<cmd>lua vim.diagnostic.open_float()<cr>")
|
bufmap("n", "gl", "<cmd>lua vim.diagnostic.open_float()<cr>")
|
||||||
|
|
||||||
-- Move to the previous diagnostic
|
-- Move to the previous diagnostic
|
||||||
bufmap("n", "nd", "<cmd>lua vim.diagnostic.goto_prev()<cr>")
|
bufmap("n", "[d", "<cmd>lua vim.diagnostic.goto_prev()<cr>")
|
||||||
|
|
||||||
-- Move to the next diagnostic
|
-- Move to the next diagnostic
|
||||||
bufmap("n", "nd", "<cmd>lua vim.diagnostic.goto_next()<cr>")
|
bufmap("n", "]d", "<cmd>lua vim.diagnostic.goto_next()<cr>")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
|
@ -19,14 +19,14 @@ return {
|
||||||
})
|
})
|
||||||
local lint = require("lint")
|
local lint = require("lint")
|
||||||
lint.linters_by_ft = {
|
lint.linters_by_ft = {
|
||||||
javascript = { "eslint_d" },
|
javascript = { "biomejs" },
|
||||||
typescript = { "biomejs" },
|
typescript = { "biomejs" },
|
||||||
javascriptreact = { "biomejs" },
|
javascriptreact = { "biomejs" },
|
||||||
typescriptreact = { "biomejs" },
|
typescriptreact = { "biomejs" },
|
||||||
svelte = { "biomejs" },
|
svelte = { "biomejs" },
|
||||||
python = { "pylint" },
|
python = { "pylint" },
|
||||||
-- markdown = { "marksman" },
|
-- markdown = { "marksman" },
|
||||||
lua = { "luacheck" },
|
lua = {"luacheck"},
|
||||||
}
|
}
|
||||||
|
|
||||||
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true })
|
||||||
|
|
Loading…
Reference in New Issue