diff options
| author | Damjan 9000 <damjan.9000@gmail.com> | 2024-03-04 14:16:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-04 08:16:50 -0500 |
| commit | 13b2b92dc9d70d7e030a456329dad401d3d7feb5 (patch) | |
| tree | 9b7d0a1964e1f84589718cb6ed76d855ea81ab95 | |
| parent | 461f2a500eaefec0a96954a2a2d6035aa94f98a9 (diff) | |
| download | dots-13b2b92dc9d70d7e030a456329dad401d3d7feb5.tar.gz | |
Change statusline location to LINE:COLUMN (#689)
| -rw-r--r-- | nvim/init.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nvim/init.lua b/nvim/init.lua index 292ec07..16d3c26 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -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! |