From 357f83f5fcdcffa721cf7151a72d609a7a7b7c94 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Mon, 9 Feb 2026 16:07:35 +0200 Subject: [PATCH] feat(lsp): toggle virtual lines --- config/plugins/lsp.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/plugins/lsp.nix b/config/plugins/lsp.nix index c762680..b9b15ff 100644 --- a/config/plugins/lsp.nix +++ b/config/plugins/lsp.nix @@ -66,6 +66,11 @@ key = "ti"; options.desc = "toggle inlay hints"; } + { + action = "lua vim.diagnostic.config({ virtual_lines = not vim.diagnostic.config().virtual_lines })"; + key = "tv"; + options.desc = "toggle virtual lines"; + } { action.__raw = '' function() -- 2.44.1