nix-community.nixvim/plugins/by-name/lsp-lines/default.nix
osbm a41559f093
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
treewide: add plugin descriptions
2025-06-24 06:10:11 +00:00

40 lines
892 B
Nix

{
lib,
helpers,
...
}:
with lib;
lib.nixvim.plugins.mkNeovimPlugin {
name = "lsp-lines";
moduleName = "lsp_lines";
packPathName = "lsp_lines.nvim";
package = "lsp_lines-nvim";
description = "A simple neovim plugin that renders diagnostics using virtual lines on top of the real line of code.";
# This plugin has no settings; it is configured via vim.diagnostic.config
hasSettings = false;
maintainers = [ maintainers.MattSturgeon ];
# TODO: Introduced 2024-06-25, remove after 24.11
imports = [
(mkRenamedOptionModule
[
"plugins"
"lsp-lines"
"currentLine"
]
[
"diagnostic"
"settings"
"virtual_lines"
"only_current_line"
]
)
];
extraConfig = {
# Strongly recommended by the plugin, to avoid duplication.
diagnostic.settings.virtual_text = mkDefault false;
};
}