From 720c645a8c0da989bdebd8cce6fcfddac36a3323 Mon Sep 17 00:00:00 2001 From: "dedal.qq" Date: Sat, 18 Jan 2025 15:25:27 +0300 Subject: [PATCH] commit --- lua/config/keymaping.lua | 4 ++-- lua/config/menu.lua | 10 +++++----- lua/plugins/dap.lua | 3 +-- lua/plugins/neo-tree.lua | 7 +++++++ 4 files changed, 15 insertions(+), 9 deletions(-) diff --git a/lua/config/keymaping.lua b/lua/config/keymaping.lua index 6bff99b..3a2d99a 100644 --- a/lua/config/keymaping.lua +++ b/lua/config/keymaping.lua @@ -39,8 +39,8 @@ map("n", "", "BufferPrevious", { desc = "Previous tab" }) -- dap map("n", "bb", dap.toggle_breakpoint, { desc = "Toggle breakpoint" }) -map("n", "", dap.step_into, { desc = "Step into" }) -map("n", "", dap.step_over, { desc = "Step over" }) +map("n", "", dap.step_over, { desc = "Step over" }) +map("n", "", dap.step_into, { desc = "Step into" }) map("n", "", dap.continue, { desc = "Continue" }) -- nvterm diff --git a/lua/config/menu.lua b/lua/config/menu.lua index 9e19e71..5c7ffba 100644 --- a/lua/config/menu.lua +++ b/lua/config/menu.lua @@ -20,7 +20,7 @@ return { { name = "󰫧 Eval", - cmd = dapui.eval, + cmd = dapui.eval, -- require('dap.ui.widgets').hover() }, { @@ -33,14 +33,14 @@ return { { name = "separator" }, { - name = "󰆹 Step into", - cmd = dap.step_into, + name = " Step over", + cmd = dap.step_over, rtxt = "", }, { - name = " Step over", - cmd = dap.step_over, + name = "󰆹 Step into", + cmd = dap.step_into, rtxt = "", }, diff --git a/lua/plugins/dap.lua b/lua/plugins/dap.lua index db5e789..a895696 100644 --- a/lua/plugins/dap.lua +++ b/lua/plugins/dap.lua @@ -22,8 +22,7 @@ return { -- dap.listeners.before.event_exited.dapui_config = function() -- dapui.close() -- end - - fn.sign_define("DapBreakpoint", { text = "", texthl = "red", linehl = "", numhl = "" }) + fn.sign_define("DapBreakpoint", { text = "", texthl = "ErrorMsg", linehl = "", numhl = "" }) require("dapui").setup() require("dap-go").setup() diff --git a/lua/plugins/neo-tree.lua b/lua/plugins/neo-tree.lua index 97dfa6e..105c74f 100644 --- a/lua/plugins/neo-tree.lua +++ b/lua/plugins/neo-tree.lua @@ -17,6 +17,13 @@ return { require("neo-tree").setup({ -- popup_border_style = "rounded", + filesystem = { + filtered_items = { + visible = true, + hide_dotfiles = false, + hide_gitignored = true, + }, + }, default_component_configs = { modified = { symbol = "",