1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00
nixvim/plugins/by-name/lsp-lines/default.nix
saygo-png c4b27080a6 treewide: infer packPathName menial work
Signed-off-by: saygo-png <saygo.mail@proton.me>
2025-09-27 23:49:59 +00:00

39 lines
857 B
Nix

{
lib,
helpers,
...
}:
with lib;
lib.nixvim.plugins.mkNeovimPlugin {
name = "lsp-lines";
moduleName = "lsp_lines";
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;
};
}