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 and sfrick committed Jul 29, 2024
1 parent 1958cd3 commit ca3990f
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 ca3990f

Please sign in to comment.