Re:Helix: a post-modern modal text editor
by fourseventy on Tuesday June 01, 2021 @04:25PM
(#27360806)
I'm yet to dive into treesitter. Was it hard to get it installed for nvim. Also, was it hard to get the language plugins installed?
[ Parent
| on HN ]
Re:Helix: a post-modern modal text editor
by jamespwilliams on Tuesday June 01, 2021 @04:53PM
(#27361139)
I found it straightforward to install based on the documentation in the READMEs of both:
- https://github.com/nvim-treesitter/nvim-treesitter#quickstar...
- https://github.com/neovim/nvim-lspconfig#install
Just by following the instructions I had a pretty good setup already, but I made a couple of further changes, like setting up autoformatting on save, which was a bit trickier. `vim.lsp.buf.formatting` was useful there, but I had to do a bit of research to figure out how to use it (it wasn't immediately available on the READMEs).