Skip to content

Commit

Permalink
Change statusline location to LINE:COLUMN (nvim-lua#689)
Browse files Browse the repository at this point in the history
  • Loading branch information
dam9000 authored Mar 4, 2024
1 parent c9122e8 commit c3127f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -761,11 +761,11 @@ require('lazy').setup {
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!
Expand Down

0 comments on commit c3127f1

Please sign in to comment.