2023-07-30 18:54:54 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
...
|
2023-11-08 03:16:46 +01:00
|
|
|
}: let
|
2024-03-12 01:46:29 +01:00
|
|
|
inherit (lib.modules) mkIf;
|
|
|
|
inherit (lib.nvim.dag) entryAfter;
|
2023-11-08 03:16:46 +01:00
|
|
|
|
2023-07-30 18:54:54 +02:00
|
|
|
cfg = config.vim.lsp;
|
|
|
|
in {
|
|
|
|
config = mkIf (cfg.enable && cfg.lsplines.enable) {
|
|
|
|
vim.startPlugins = ["lsp-lines"];
|
2024-07-20 10:30:48 +02:00
|
|
|
vim.pluginRC.lsplines = entryAfter ["lspconfig"] ''
|
2023-07-30 18:54:54 +02:00
|
|
|
require("lsp_lines").setup()
|
|
|
|
|
|
|
|
vim.diagnostic.config({
|
|
|
|
virtual_text = false,
|
|
|
|
})
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|