Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treesitter can't install #609

Closed
2 tasks done
Penguin-SAMA opened this issue Apr 2, 2023 · 11 comments
Closed
2 tasks done

Treesitter can't install #609

Penguin-SAMA opened this issue Apr 2, 2023 · 11 comments
Labels
bug Something isn't working treesitter Treesitter related issues upstream Upstream (neovim/plugin) issues

Comments

@Penguin-SAMA
Copy link

Version confirmation

  • Confirm

Following prerequisites

  • Confirm

Neovim version

NVIM v0.8.3 Build type: Release LuaJIT 2.1.0-beta3 编译者 [email protected] Features: +acl +iconv +tui See ":help feature-compile" 系统 vimrc 文件: "$VIM/sysinit.vim" $VIM 预设值: "/opt/homebrew/Cellar/neovim/0.8.3/share/nvim" Run :checkhealth for more info

Operating system/version

macos 13.3

Terminal name/version

iTerm2 3.4.19

$TERM environment variable

No response

Branch info

main (Default/Latest)

Fetch Preferences

SSH (use_ssh = true)

How to reproduce the issue

在我使用打开nvim的时候就会出现如下报错
image
一直按回车就是这样
image
但是我能正常下载其他所有插件,也能正常登陆github

Expected behavior

希望能正常安装所有插件

Actual behavior

No response

Additional information

No response

@Penguin-SAMA Penguin-SAMA added the bug Something isn't working label Apr 2, 2023
@Penguin-SAMA
Copy link
Author

刚刚把电脑里所有有关nvim的东西删了重装后又出现这个错误
image

@CharlesChiuGit
Copy link
Collaborator

check other issues first

@CharlesChiuGit CharlesChiuGit added duplicate This issue or pull request already exists invalid:install Issues caused by incomplete installation and removed bug Something isn't working labels Apr 2, 2023
@Penguin-SAMA
Copy link
Author

check other issues first

第一个问题我在卸载多次并重装后都会出现,我刚刚尝试了配置原版LazyVim也同样出现了这个问题,猜测是treesitter的问题,但是不知道怎么解决

@CharlesChiuGit
Copy link
Collaborator

So did u check other issues? What steps did u tried?

@Penguin-SAMA
Copy link
Author

So did u check other issues? What steps did u tried?

目前来看没有其他问题,全部报错都是treesitter的。
我仅仅是使用nvim打开就会出现报错,没有进行其他操作。

@ayamir
Copy link
Owner

ayamir commented Apr 2, 2023

刚刚把电脑里所有有关nvim的东西删了重装后又出现这个错误 image

same as #586.

@ayamir
Copy link
Owner

ayamir commented Apr 2, 2023

We can't do more about the installation of treesitter. For well-known reason about GFW, you can't access github normally without proxy. Set terminal proxy if you have it. Below commands are needed if you use bash or zsh:

export http_proxy=http://<server>:<port>
export https_proxy=http://<server>:<port>

Replace <server> and <port> with your own proxy setting then open nvim.

@Penguin-SAMA
Copy link
Author

We can't do more about the installation of treesitter. For well-known reason about GFW, you can't access github normally without proxy. Set terminal proxy if you have it. Below commands are needed if you use bash or zsh:We can't do more about the installation of treesitter. For well-known reason about GFW, you can't access github normally without proxy. Set terminal proxy if you have it. Below commands are needed if you use bash or zsh:

export http_proxy=http://<server>:<port>
export https_proxy=http://<server>:<port>

Replace <server> and <port> with your own proxy setting then open nvim.Replace and with your own proxy setting then open nvim.

上述sniprun的问题已经解决,非常感谢。
同时我已经在zsh中配置了代理,git clone也没有出现任何问题,但是treesitter的bug依旧存在

@Jint-lzxy
Copy link
Collaborator

What is the output of :checkhealth nvim_treesitter and :lua vim.pretty_print(require("nvim-treesitter.parsers").get_parser_configs())?

@Jint-lzxy
Copy link
Collaborator

In fact, we missed one breaking change: nvim-treesitter/nvim-treesitter@93fa5df.

@Penguin-SAMA Pulling the latest updates would resolve this issue.

@Jint-lzxy Jint-lzxy added bug Something isn't working treesitter Treesitter related issues upstream Upstream (neovim/plugin) issues and removed duplicate This issue or pull request already exists invalid:install Issues caused by incomplete installation labels Apr 3, 2023
singlemancombat pushed a commit to singlemancombat/nvim-config that referenced this issue Apr 3, 2023
boomker pushed a commit to boomker/uvcode-nvim that referenced this issue Apr 4, 2023
YanTree pushed a commit to YanTree/nvim that referenced this issue Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working treesitter Treesitter related issues upstream Upstream (neovim/plugin) issues
Projects
None yet
Development

No branches or pull requests

4 participants