From 7dfe2ca68b7f055ea7fba839fda779b8e81b4a15 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Sun, 3 Nov 2024 19:53:47 +0100 Subject: [PATCH] change breakpoint icon --- dotfiles/.config/nvim/lua/plugins/dap.lua | 2 ++ dotfiles/.config/nvim/lua/plugins/init.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/dotfiles/.config/nvim/lua/plugins/dap.lua b/dotfiles/.config/nvim/lua/plugins/dap.lua index de6ae2f..4414638 100644 --- a/dotfiles/.config/nvim/lua/plugins/dap.lua +++ b/dotfiles/.config/nvim/lua/plugins/dap.lua @@ -32,6 +32,8 @@ vim.keymap.set({'n', 'v'}, 'dp', function() require('dap.ui.widgets').pr vim.keymap.set('n', 'df', function() local widgets = require('dap.ui.widgets') widgets.centered_float(widgets.frames) end) vim.keymap.set('n', 'ds', function() local widgets = require('dap.ui.widgets') widgets.centered_float(widgets.scopes) end) +vim.fn.sign_define('DapBreakpoint', {text='󰬪', texthl='', linehl='', numhl=''}) + -- Set up lldb (LLVM debugger) -- Install archlinux: sudo pacman -S lldb -- Install ubuntu: sudo apt diff --git a/dotfiles/.config/nvim/lua/plugins/init.lua b/dotfiles/.config/nvim/lua/plugins/init.lua index 94e4584..cb6ca9d 100644 --- a/dotfiles/.config/nvim/lua/plugins/init.lua +++ b/dotfiles/.config/nvim/lua/plugins/init.lua @@ -3,6 +3,7 @@ require('plugins.packer_setup') require('packer').startup(function() -- Packer can manage itself as an optional plugin use { 'wbthomason/packer.nvim', opt = true } + use { 'glepnir/nerdicons.nvim', cmd = 'NerdIcons', config = function() require('nerdicons').setup({}) end } -- Fuzzy finder use {