i use arch btw
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Change to built-in lualine diff module

+2 -12
+2 -12
nvim/.config/nvim/lua/plugins.lua
··· 26 26 requires = { 'kyazdani42/nvim-web-devicons' }, 27 27 after = { 'nord.nvim' }, 28 28 config = function() 29 - local function diff_source() 30 - local gitsigns = vim.b.gitsigns_status_dict 31 - if gitsigns then 32 - return { 33 - added = gitsigns.added, 34 - modified = gitsigns.changed, 35 - removed = gitsigns.removed, 36 - } 37 - end 38 - end 39 - 40 29 local empty = { 41 30 function() 42 31 return ' ' ··· 62 51 -- TODO: figure out why the branch plugin only loads after a :PackerCompile 63 52 -- { 'branch' }, 64 53 { 'b:gitsigns_head', icon = '' }, 65 - { 'diff', source = diff_source }, 54 + { 'diff' }, 66 55 { 'diagnostics' }, 67 56 }, 68 57 lualine_c = {}, ··· 74 63 }, 75 64 lualine_z = { 76 65 { 'location', separator = { right = '' } }, 66 + empty, 77 67 empty, 78 68 }, 79 69 },