AstroNvim / AstroNvim

AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
https://AstroNvim.com
GNU General Public License v3.0
12.51k stars 916 forks source link

Add Recipes/Cookbook Section to Wiki #239

Closed mehalter closed 2 years ago

mehalter commented 2 years ago

We should add a Recipes/Cookbook section to the wiki with answers to common user configuration questions. This would also be a good location to highlight some advanced Astrovim user configuration repositories that might be a good reference to users looking to do some significant modifications to the base installation.

mehalter commented 2 years ago

Compiling a list of good issues to include: #221, #205 #196, #141

axgkl commented 2 years ago

Two more suggestions:

1. Maybe you can add a stanza about unattended install

nvim  --headless -c 'autocmd User PackerComplete quitall' -c 'PackerSync'

into the set of recipes.

Rationale AV addresses, imho, two groups of people: 1. The rather beginners in vim and/or lua, coming from other IDEs 2. Not so beginners in vim, which could / did before hack all the plugins together also w/o Astro - BUT they like the idea of having a lot of dev-must-have config within a "standard" framework. Where people can be pointed to, to learn it and only the really personal stuff left in theirs. That's far more agreeable, project or company wide, than a full vim config of one specific person. Unattended installs, i.e. the possibility to throw editor install steps into a server setup script or playbook, is totally irrelevant for group 1 but very relevant for 2.

2. Not AV's problem but the treesitter problems with python and indent at pathological cases could be addressed.

Example ```python def foo(): [i.split('(', 1) for i in []] def bar(): pass ``` Fixable with `execute 'TSDisableAll indent'` within a sourced vim config, currently.
mehalter commented 2 years ago

Added: https://github.com/kabinspace/AstroVim/wiki/Configuration-Recipes