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