aboutsummaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorDamjan 9000 <damjan.9000@gmail.com>2024-03-04 17:02:12 +0100
committerDamjan 9000 <damjan.9000@gmail.com>2024-03-04 17:02:12 +0100
commit0ff7758cf4a39aa868fc72b7c93fb812c7397c7a (patch)
treeb7226ddbd8b55b1fe73086bef42b4a0f8dd89ec0 /lua
parent09093d4d90edf4596316e5169198fea0be8f8b26 (diff)
parentb83b2b061c1fab0e1a3a28c185345be7957e74cd (diff)
Merge 'upstream/master' cursor location, trailing spaces, new youtube video
Change statusline location to LINE:COLUMN chore: remove trailing spaces from readme chore: link new installation youtube video
Diffstat (limited to 'lua')
-rw-r--r--lua/kickstart/plugins/mini.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/kickstart/plugins/mini.lua b/lua/kickstart/plugins/mini.lua
index 7c5026d..94de556 100644
--- a/lua/kickstart/plugins/mini.lua
+++ b/lua/kickstart/plugins/mini.lua
@@ -24,11 +24,11 @@ return {
statusline.setup()
-- You can configure sections in the statusline by overriding their
- -- default behavior. For example, here we disable the section for
- -- cursor information because line numbers are already enabled
+ -- default behavior. For example, here we set the section for
+ -- cursor location to LINE:COLUMN
---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function()
- return ''
+ return '%2l:%-2v'
end
-- ... and there is more!