mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/utils: move to by-name
This commit is contained in:
parent
faff32b9f1
commit
52f125679f
195 changed files with 2 additions and 102 deletions
|
@ -1,103 +0,0 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.coverage.enable = true;
|
||||
};
|
||||
|
||||
example = {
|
||||
plugins.coverage = {
|
||||
enable = true;
|
||||
|
||||
keymapsSilent = true;
|
||||
keymaps = {
|
||||
coverage = "<leader>a";
|
||||
load = "<leader>b";
|
||||
show = "<leader>c";
|
||||
hide = "<leader>d";
|
||||
toggle = "<leader>e";
|
||||
clear = "<leader>f";
|
||||
summary = "<leader>g";
|
||||
loadLcov = "<leader>h";
|
||||
};
|
||||
|
||||
autoReload = false;
|
||||
autoReloadTimeoutMs = 500;
|
||||
commands = true;
|
||||
highlights = {
|
||||
covered = {
|
||||
fg = "#B7F071";
|
||||
};
|
||||
uncovered = {
|
||||
fg = "#F07178";
|
||||
};
|
||||
partial = {
|
||||
fg = "#AA71F0";
|
||||
};
|
||||
summaryBorder = {
|
||||
link = "FloatBorder";
|
||||
};
|
||||
summaryNormal = {
|
||||
link = "NormalFloat";
|
||||
};
|
||||
summaryCursorLine = {
|
||||
link = "CursorLine";
|
||||
};
|
||||
summaryHeader = {
|
||||
style = "bold,underline";
|
||||
sp = "bg";
|
||||
};
|
||||
summaryPass = {
|
||||
link = "CoverageCovered";
|
||||
};
|
||||
summaryFail = {
|
||||
link = "CoverageUncovered";
|
||||
};
|
||||
};
|
||||
loadCoverageCb = ''
|
||||
function (ftype)
|
||||
vim.notify("Loaded " .. ftype .. " coverage")
|
||||
end
|
||||
'';
|
||||
signs = {
|
||||
covered = {
|
||||
hl = "CoverageCovered";
|
||||
text = "▎";
|
||||
};
|
||||
uncovered = {
|
||||
hl = "CoverageUncovered";
|
||||
text = "▎";
|
||||
};
|
||||
partial = {
|
||||
hl = "CoveragePartial";
|
||||
text = "▎";
|
||||
};
|
||||
};
|
||||
signGroup = "coverage";
|
||||
summary = {
|
||||
widthPercentage = 0.7;
|
||||
heightPercentage = 0.5;
|
||||
borders = {
|
||||
topleft = "╭";
|
||||
topright = "╮";
|
||||
top = "─";
|
||||
left = "│";
|
||||
right = "│";
|
||||
botleft = "╰";
|
||||
botright = "╯";
|
||||
bot = "─";
|
||||
highlight = "Normal:CoverageSummaryBorder";
|
||||
};
|
||||
minCoverage = 80;
|
||||
};
|
||||
lang = {
|
||||
python = {
|
||||
coverage_file = ".coverage";
|
||||
coverage_command = "coverage json --fail-under=0 -q -o -";
|
||||
};
|
||||
ruby = {
|
||||
coverage_file = "coverage/coverage.json";
|
||||
};
|
||||
};
|
||||
lcovFile = null;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue