aboutsummaryrefslogtreecommitdiffstats
path: root/modules/home/conf/nvim/plgs/debugprint
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-19 07:15:25 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-06-19 07:15:25 +0200
commit763b9e3340299185240ec45b9c9b67602ce994ec (patch)
tree3874135d1b4cf7550f2b0a5d392298dbd303b70b /modules/home/conf/nvim/plgs/debugprint
parentfix(pkgs/brightness): Remove unneeded variable assignment (diff)
downloadnixos-config-763b9e3340299185240ec45b9c9b67602ce994ec.zip
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`
Diffstat (limited to 'modules/home/conf/nvim/plgs/debugprint')
-rw-r--r--modules/home/conf/nvim/plgs/debugprint/default.nix12
1 files changed, 4 insertions, 8 deletions
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