3 ms·
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?
by fourseventy 5y ago
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?
- jamespwilliams 5y agoI found it straightforward to install based on the documentation in the READMEs of both: - https://github.com/nvim-treesitter/nvim-treesitter#quickstart https://github.com/nvim-treesitter/nvim-treesitter#quickstar... - https://github.com/neovim/nvim-lspconfig#install 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).