M config/default.nix => config/default.nix +0 -5
@@ 15,11 15,6 @@
clipboard.providers.wl-copy.enable = true;
- extraConfigLua = ''
- -- disable inline diagnostic messages
- vim.diagnostic.config({ virtual_text = false })
- '';
-
extraPackages = with pkgs; [
delta
];
M config/plugins/lsp.nix => config/plugins/lsp.nix +15 -0
@@ 42,9 42,24 @@
yamlls.enable = true;
};
};
+ lsp-lines.enable = true;
+ lsp-signature = {
+ enable = true;
+ settings = {
+ doc_lines = 0;
+ handler_opts.border = "none";
+ hint_enable = false;
+ };
+ };
fidget.enable = true;
};
+ extraConfigLua = ''
+ -- disable inline diagnostic messages,
+ -- but enable virtual lines for lsp-lines
+ vim.diagnostic.config({ virtual_text = false, virtual_lines = true })
+ '';
+
keymaps = [
{
action = "<cmd>lua vim.lsp.inlay_hint.enable(not vim.lsp.inlay_hint.is_enabled())<CR>";