From 763b9e3340299185240ec45b9c9b67602ce994ec Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Wed, 19 Jun 2024 07:15:25 +0200 Subject: fix(modules/nvim): Update to the newest nixVim version This includes replacing the deprecated `lua = true` pattern with a raw lua value and using the new name for `nil_ls`: `nil-ls` --- modules/home/conf/nvim/plgs/debugprint/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'modules/home/conf/nvim/plgs/debugprint/default.nix') diff --git a/modules/home/conf/nvim/plgs/debugprint/default.nix b/modules/home/conf/nvim/plgs/debugprint/default.nix index b0d72339..3c591e9f 100644 --- a/modules/home/conf/nvim/plgs/debugprint/default.nix +++ b/modules/home/conf/nvim/plgs/debugprint/default.nix @@ -16,12 +16,11 @@ { key = "g?v"; mode = ["v" "n"]; - action = '' + action.__raw = '' function() return require('debugprint').debugprint({variable = true;}); end ''; - lua = true; options.expr = true; options.desc = '' 'variable' debug line below the current line @@ -30,12 +29,11 @@ { key = "g?V"; mode = ["v" "n"]; - action = '' + action.__raw = '' function() return require('debugprint').debugprint({above = true; variable = true;}) ; end ''; - lua = true; options.expr = true; options.desc = '' 'variable' debug line above the current line @@ -44,12 +42,11 @@ { key = "g?p"; mode = "n"; - action = '' + action.__raw = '' function() return require('debugprint').debugprint(); end ''; - lua = true; options.expr = true; options.desc = '' 'plain' debug line below the current line @@ -58,12 +55,11 @@ { key = "g?P"; mode = "n"; - action = '' + action.__raw = '' function() return require('debugprint').debugprint({above = true;}); end ''; - lua = true; options.expr = true; options.desc = '' 'plain' debug line above the current line -- cgit 1.4.1