changing kick overrides pattern
This commit is contained in:
parent
049d9f270a
commit
3bab682273
8 changed files with 189 additions and 379 deletions
|
|
@ -5,10 +5,10 @@ return {
|
|||
local statusline = require 'mini.statusline'
|
||||
|
||||
-- Add new section function
|
||||
statusline.section_target = function()
|
||||
local target = require('custom.utils'):get_target()
|
||||
return target and (' ' .. target) or ''
|
||||
end
|
||||
-- statusline.section_target = function()
|
||||
-- local target = require('custom.utils'):get_target()
|
||||
-- return target and (' ' .. target) or ''
|
||||
-- end
|
||||
|
||||
-- Override content.active to include target
|
||||
opts.content = opts.content or {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue