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
This commit is contained in:
Damjan 9000 2024-03-04 17:02:12 +01:00
commit 0ff7758cf4
2 changed files with 6 additions and 10 deletions

View File

@ -89,9 +89,7 @@ information about extending and exploring Neovim.
### Getting Started ### Getting Started
See [Effective Neovim: Instant IDE](https://youtu.be/stqUbv-5u2s), covering the [The Only Video You Need to Get Started with Neovim](https://youtu.be/m8C0Cq9Uv9o)
previous version. Note: The install via init.lua is outdated, please follow the
install instructions in this file instead. An updated video is coming soon.
### Recommended Steps ### Recommended Steps
@ -219,5 +217,3 @@ choco install -y neovim git ripgrep wget fd unzip gzip mingw make
``` ```
Then continue with the [Install Kickstart](#Install-Kickstart) step. Then continue with the [Install Kickstart](#Install-Kickstart) step.

View File

@ -24,11 +24,11 @@ return {
statusline.setup() statusline.setup()
-- You can configure sections in the statusline by overriding their -- You can configure sections in the statusline by overriding their
-- default behavior. For example, here we disable the section for -- default behavior. For example, here we set the section for
-- cursor information because line numbers are already enabled -- cursor location to LINE:COLUMN
---@diagnostic disable-next-line: duplicate-set-field ---@diagnostic disable-next-line: duplicate-set-field
statusline.section_location = function() statusline.section_location = function()
return '' return '%2l:%-2v'
end end
-- ... and there is more! -- ... and there is more!