From 67fadd3e757948160c4bfb9dcdcd0fbbe34beb3f Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Wed, 11 Jan 2023 17:08:15 -0800 Subject: [PATCH 1/2] use pdb instead of ipdb --- lua/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/commands.lua b/lua/commands.lua index 6090c1c..1d6066f 100644 --- a/lua/commands.lua +++ b/lua/commands.lua @@ -2,7 +2,7 @@ vim.api.nvim_create_user_command('Black', 'call Black()', {}) -- Insert IPDB statement -vim.api.nvim_create_user_command('IPDB', 'norm oimport ipdb; ipdb.set_trace() # fmt:skip', {}) +vim.api.nvim_create_user_command('PDB', 'norm oimport pdb; pdb.set_trace() # fmt:skip', {}) local function gitblame_toggle_summary() local normal = '' From 63eb4087aad401cbaf4efcf3d4f8251bfab57738 Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Wed, 11 Jan 2023 17:08:40 -0800 Subject: [PATCH 2/2] blacken input --- lua/commands.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/commands.lua b/lua/commands.lua index 1d6066f..5ec8a35 100644 --- a/lua/commands.lua +++ b/lua/commands.lua @@ -2,7 +2,7 @@ vim.api.nvim_create_user_command('Black', 'call Black()', {}) -- Insert IPDB statement -vim.api.nvim_create_user_command('PDB', 'norm oimport pdb; pdb.set_trace() # fmt:skip', {}) +vim.api.nvim_create_user_command('PDB', 'norm oimport pdb; pdb.set_trace() # fmt:skip', {}) local function gitblame_toggle_summary() local normal = ''