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