chore(init.lua): clarify section comments
Now that there is section 2 for keymaps. It doesn't need to be in section 1.
Two more things:
- You have an autocommand under keymaps.
- Keeping comments like
-- [[ Basic Keymaps ]]feels a bit redundant. I know you are keeping parity with kickstart-modular.nvim
oops, you are totally right :)
about the other things:
You have an autocommand under keymaps.
I agree this is not the best, but I couldn't think of a section that fits better. Any suggestions?
Keeping comments like -- [[ Basic Keymaps ]] feels a bit redundant. I still find them useful even if they are repeating the section headers sometimes, because most sections contain multiple "sub sections" - which those comments help separate.
Keymaps and autocommands aren't closely related. For a starter guide like Kickstart, users should be able to differentiate between what they trigger and what Neovim triggers automatically.
I prefer autocmd to be a new chapter.
-- SECTION 2: KEYMAPS
-- SECTION 3: AUTOCMDS
or you could keep it like before.
-- SECTION 2: KEYMAPS & AUTOCMDS