A neovim plugin for https://github.com/micmine/logana.
Before you start with this install logana.
Use your favorite plugin manager
use "micmine/logana.nvim"
local logana = require("logana");
vim.keymap.set(
{"n"},
"ä",
function()
-- This will load a ".logana-report" file. And will replace your quickfix list with these errors
-- If there is no error in the file it will close the quickfix list
logana.set_qfl()
end,
)
local logana = require("logana")
-- Set a parser (Optional)
logana.analyze.set_parser("cargo")
vim.keymap.set(
{"n"},
"<leader>h",
function()
-- With these settings it will analyze the current line inclusive of the next 10 lines
-- If there is only one error then it will go to that line. Else it will put them into a quick fix list
logana.analyze.run("line", "size")
end,
)