9 ms·
Integrated LSP is quite nice (and the ecosystem around it is just getting started), but it’s not the thing I’m most excited about. My favourite new thing is ac
by ratorx 5y ago
Integrated LSP is quite nice (and the ecosystem around it is just getting started), but it’s not the thing I’m most excited about.
My favourite new thing is actually tree-sitter. Currently it’s being hyped for better syntax highlighting (which is nice), but I’m most excited about defining text objects on language constructs. I really don’t like trying to shoehorn words, sentences and paragraphs to deal with parameters, scopes, functions etc. Having language-aware text objects for these is really neat.
I don’t think it’s anything that would be impossible to get working in Vim, but being built-in is pretty nice.
- jay-aye-see-key 5y agoTree-sitter based text-objects are one of my favourite parts of neovim 0.5 too. Now I can have class, function, parameter, and comment text-objects that can be manipulated as easily as words or paragraphs. This plugin sets it all up and has some examples: https://github.com/nvim-treesitter/nvim-treesitter-textobjects https://github.com/nvim-treesitter/nvim-treesitter-textobjec...