Hacker News new | ask | show | jobs
by BaculumMeumEst 1365 days ago
I really wish neovim could ship usable default colorscheme and round out its lsp support with autocompletion. Treesitter isn’t for me; it’s slower to open files and I have no idea how people make sense of so many different color groups.

Still sticking with vanilla vim and CoC for the time being, they’re rock solid.

3 comments

Treesitter isn’t for me; it’s slower to open files

I certainly haven’t experienced any slowness with opening files with Neovim with Treesitter. It certainly enables much better syntax highlighting, among other things [1]. If anything, it’s faster than the regex-based syntax highlighting that Vim traditionally used.

CoC is a 3rd party LSP plugin that works with Vim and Neovim.

[1]: https://neovim.io/doc/treesitter/

Treesitter is slower to parse a file initially but quicker at handling incremental changes. You probably won’t notice unless you open a huge source file.
Never used Treesitter, but I'd assume all this happens async? I.e., does Neovim actually block text editing untill the parsing is finished or do you just see unstyled content until it finishes?

(I'd just be surprised if anything new worked that way in 2022, let alone something built for async like Neovim.)

It blocks text editing until it finishes.
This is planned for the next release: https://github.com/neovim/neovim/issues/14790
> usable default colorscheme

What's wrong with the default colorscheme?

That looks pretty good, I don't know what the default colour scheme looks like, but if you are proposing this as an improvement I hope it gets in.