2022-08-28 01:33:43 +01:00
|
|
|
{
|
2023-02-20 11:42:13 +01:00
|
|
|
lib,
|
2023-11-06 15:04:08 +01:00
|
|
|
helpers,
|
2023-02-20 11:42:13 +01:00
|
|
|
...
|
|
|
|
}:
|
|
|
|
with lib;
|
2024-12-22 09:58:27 +00:00
|
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
2024-06-21 11:59:22 +01:00
|
|
|
name = "lsp-lines";
|
2024-12-13 08:28:39 -06:00
|
|
|
moduleName = "lsp_lines";
|
2024-12-13 08:27:14 -06:00
|
|
|
packPathName = "lsp_lines.nvim";
|
2024-09-02 14:05:11 +01:00
|
|
|
package = "lsp_lines-nvim";
|
2023-01-19 10:45:15 +00:00
|
|
|
|
2024-06-21 11:59:22 +01:00
|
|
|
# This plugin has no settings; it is configured via vim.diagnostic.config
|
|
|
|
hasSettings = false;
|
2022-08-28 01:33:43 +01:00
|
|
|
|
2024-06-21 11:59:22 +01:00
|
|
|
maintainers = [ maintainers.MattSturgeon ];
|
2022-08-28 01:33:43 +01:00
|
|
|
|
2024-06-21 11:59:22 +01:00
|
|
|
# TODO: Introduced 2024-06-25, remove after 24.11
|
|
|
|
imports = [
|
|
|
|
(mkRenamedOptionModule
|
|
|
|
[
|
|
|
|
"plugins"
|
|
|
|
"lsp-lines"
|
|
|
|
"currentLine"
|
|
|
|
]
|
|
|
|
[
|
2025-04-26 19:26:21 +01:00
|
|
|
"diagnostic"
|
2025-04-30 18:29:16 +01:00
|
|
|
"settings"
|
2024-06-21 11:59:22 +01:00
|
|
|
"virtual_lines"
|
|
|
|
"only_current_line"
|
|
|
|
]
|
|
|
|
)
|
|
|
|
];
|
2022-08-28 01:33:43 +01:00
|
|
|
|
2024-11-19 15:47:49 +00:00
|
|
|
extraConfig = {
|
2024-06-21 11:59:22 +01:00
|
|
|
# Strongly recommended by the plugin, to avoid duplication.
|
2025-04-30 18:29:16 +01:00
|
|
|
diagnostic.settings.virtual_text = mkDefault false;
|
2024-06-21 11:59:22 +01:00
|
|
|
};
|
2022-08-28 01:33:43 +01:00
|
|
|
}
|