10 ms·
Did you actually try LazyVim? It makes this whole process a lot easier, with pre-cooked extras for most popular languages.
by marcusramberg 3y ago
Did you actually try LazyVim? It makes this whole process a lot easier, with pre-cooked extras for most popular languages.
- danjac 3y agoYes I did, and no it didn't really help. Sure it was a much slicker starting point, but when I needed to do a bit more (ie. configure a formatter) it just added more obfuscation than anything. The "pre-cooked" part does help with setting up linting, but formatting...you're kind of on your own (if you search the source you can find an example with prettier but you will still need to add your own integration for anything else).
- marcusramberg 3y agohttps://lazyvim.github.io/plugins/extras/formatting.prettier https://lazyvim.github.io/plugins/extras/formatting.prettier I dont have specific code for formatting in my lazyvim config other than loading that extra. And it does formatting out of the box for terraform / typescript / go ++