this post was submitted on 21 Jul 2023
23 points (100.0% liked)
Neovim
2171 readers
3 users here now
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I might want to see your repo for sure !
Is it better to use Lua for the config ? I feel Vimscript is kinda old school way but there is more ressource on the internet.
Also, why do you recommend LSP instead of CoC ?
Not op; I don't use LSPZero but the built in support with lsp-installer. I like to think I've organized my repo decently well so hopefully it can help you out: repo
I used to use CoC a looong time ago so I don't know if this has changed since but I've heard LSP is faster than CoC and has better support since it's the defacto standard for neovim (and built in). Additionally it uses the same binaries used by something like vscode for the analysis so it's part of a larger ecosystem that will get support
Sorry for my late answer.
Here is the link to my dotfile:
https://gitlab.com/simonced/dotfiles-nvim
I used Vim before NeoVim and despite not liking VimL as a language, the basic Vim configuration was better than doing it with Lua IMO.
But I got used to it, and it's not bad after all.
The thing though, when learning Vim, the commands, the motions, the settings... learning Lua on top of that can be daunting.
About LSP vs CoC.
CoC was a pain in the neck to setup, I needed python and other stuff (if I recall correctly) and it didn't work as I wanted/expected. LSP-zero works almost out of the box, and Mason (optional but recommended) will install LSP for the languages you want. It's very convenient and I use LSP everyday now, and it's a very nice programming experience.