๐Ÿ”’ Backup for my config files
dotfiles
0
fork

Configure Feed

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

:fire: remove slow implementation of jj description

+1 -18
+1 -18
.config/nvim/lua/plugins/lualine.lua
··· 87 87 icon = "๏ฏ", 88 88 } 89 89 90 - local function jj_description() 91 - local first_line = 92 - io.popen('jj log -T "description.first_line()" --no-graph --color=never --ignore-working-copy -r @') 93 - 94 - if first_line then 95 - local result = first_line:read("*a") 96 - first_line:close() 97 - 98 - return result 99 - end 100 - end 101 - 102 - local jj = { 103 - jj_description, 104 - icon = "๓ฑ†ฟ", 105 - } 106 - 107 90 return { 108 91 "nvim-lualine/lualine.nvim", 109 92 opts = { ··· 118 101 lualine_a = { mode }, 119 102 lualine_b = { branch, diff }, 120 103 lualine_c = { diagnostics }, 121 - lualine_x = { jj }, 104 + lualine_x = {}, 122 105 lualine_y = { "location" }, 123 106 lualine_z = { "filetype" }, 124 107 },