From 03affc6b7f1f67a89ca0575a28a8ae296aa71b7c Mon Sep 17 00:00:00 2001 From: jbates35 Date: Sun, 30 Jun 2024 13:53:37 -0700 Subject: [PATCH] Indent lines and debug stop added --- lua/kickstart/plugins/debug.lua | 2 +- lua/kickstart/plugins/indent_line.lua | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 7d18e394..c363cc9c 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -52,7 +52,7 @@ return { vim.keymap.set('n', '', dap.step_into, { desc = 'Debug: Step Into' }) vim.keymap.set('n', '', dap.step_over, { desc = 'Debug: Step Over' }) vim.keymap.set('n', '', dap.step_out, { desc = 'Debug: Step Out' }) - vim.keymap.set('n', '', dap.stop, { desc = 'Debug: Stop' }) + vim.keymap.set('n', '', dap.terminate, { desc = 'Debug: Stop' }) vim.keymap.set('n', '', dap.toggle_breakpoint, { desc = 'Debug: Toggle Breakpoint' }) vim.keymap.set('n', '', function() dap.set_breakpoint(vim.fn.input 'Breakpoint condition: ') diff --git a/lua/kickstart/plugins/indent_line.lua b/lua/kickstart/plugins/indent_line.lua index ed7f2693..004cdcaa 100644 --- a/lua/kickstart/plugins/indent_line.lua +++ b/lua/kickstart/plugins/indent_line.lua @@ -4,6 +4,20 @@ return { -- Enable `lukas-reineke/indent-blankline.nvim` -- See `:help ibl` main = 'ibl', + init = function() + local highlight = { + 'CursorColumn', + 'Whitespace', + } + require('ibl').setup { + indent = { highlight = highlight, char = '' }, + whitespace = { + highlight = highlight, + remove_blankline_trail = false, + }, + scope = { enabled = false }, + } + end, opts = {}, }, }