🪴 my neovim config:)
1
fork

Configure Feed

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

lylla: update ruler section

robin 7d37b7f4 fc0f4470

+12 -8
+12 -8
config/config/lylla.lua
··· 35 35 36 36 local hls = {} 37 37 vim.once.ColorScheme(function() 38 + hls.normal = vim.api.nvim_get_hl(0, { name = "Normal" }).fg 39 + hls.statusline = vim.api.nvim_get_hl(0, { name = "StatusLine" }).fg 40 + 38 41 hls.tab = "TabLine" 39 42 ---@type table 40 43 hls.tab_rev = utils.reverse_hl(hls.tab) ··· 131 134 end 132 135 return { 133 136 vim.diagnostic.status(), 134 - " ", 137 + { " " }, 135 138 } 136 139 end, { 137 140 events = { "DiagnosticChanged" }, ··· 156 159 } 157 160 end, { events = { "FileType", "LspAttach" } }), 158 161 lylla.component(function() 159 - if not vim.o.ruler then 160 - return {} 161 - end 162 - if vim.o.rulerformat == "" then 163 - return "%-14.(%l,%c%V%) %P" 164 - end 165 - return vim.o.rulerformat 162 + return { 163 + { "l: ", { fg = hls.statusline, italic = true } }, 164 + { "%l", { fg = hls.normal } }, 165 + { "/%L", { fg = hls.statusline, italic = true } }, 166 + { " " }, 167 + { "c: ", { bg = "NONE", italic = true } }, 168 + { "%c" }, 169 + } 166 170 end), 167 171 " ", 168 172 },