r/lunarvim • u/fractalspace • Oct 17 '22
First run - errors
Find File SPC f
New File SPC n[nvim-treesitter] [0/12] Extracting tree-sitter-json... nvim-treesitter[tsx]: Error during tarball extraction. gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now Press ENTER or type command to continue
2) No icons (Using putty to remote ssh to a Linux machine) 3) How do I get the multi-pane screen with file list on the left and possibly a pane with list of functions on the right? 4) Are ctags (symbol/definition search) included? If so, how to invoke it?
Otherwise, looks really cool.
1
Oct 11 '23
Root cause: github authentication (in my case).
Solution: Add github "token based" authentication in .curlrc
in ~/.curlrc:
--data '{"access-token":"ghp_xxyyzz........."}'
then start nvim
tree-sitter will install as expected.
Note: .curlrc changes are global. Remove/restore after nvim is done with installation.
2
u/Alternative_Mention8 Oct 30 '22 edited Oct 30 '22
The initial treesitter woes might resolve by running
:LvimCacheReset. The error will go away oncetreesitterinstalls the modules it needs.2) The icons come from having nerdfonts installed for your terminal.
3) Cool idea.
4) That is handled out of the box with treesitter.