-
Notifications
You must be signed in to change notification settings - Fork 462
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
nvim-treesitter intergration requires neovim 0.8 #568
Comments
You can cd to the directory of cd ~/.local/share/nvim/site/packer/opt/nvim-treesitter/
git fetch --all --tags
git checkout tags/0.7.2 |
十分感谢,这个问题解决了,但是还有个mason相关的问题: 我不能确定是什么原因引起的这个问题 |
can also set the version from lazy for this nvim-treesitter plugins["nvim-treesitter/nvim-treesitter"] = {
version = "0.7.2"
} |
You can comment this line to cancel the installation of nvimdots/lua/modules/completion/config.lua Line 258 in 212217e
Or execute MasonInstall stylua then show us the log.
|
@Jint-lzxy @ayamir I think we better drop support for 0.7. We didn't have a lock file at that time, which will make it almost impossible to maintaining it. I'm overwhelmed by errors when I checkout to branch 0.7. @mirroez sorry for that, but I think u need to fix those error yourself. |
Do you know what the timeline for support on different neovim version from the neovim team? If they don't have specific EOL support then we should just drop it. imho neovim 0.8 should have been neovim 1.0, since the treesitter integration is relatively big. |
|
Agree. |
Agree. I will open a PR to deprecate the 0.7 branch later. Specifically:
|
Closing as #686 is merged. This is a wontfix. |
Feature description
你好,nvimdots 的配置非常好用。但是我由于远端服务器原因只能使用neovim 0.72 ,clone 0.7库并更新后 报出提示nvim-treesitter intergration requires neovim 0.8,我该在哪个文件中指定nvim-treesitter 支持0.72的旧版本? 下面是一些打开lua文件时报出的错误,我该如何修复他们?
Additional information
Error executing vim.schedule lua callback: ...pack/packer/start/mason.nvim/lua/mason-registry/init.lua:78: Cannot find package "stylua".
stack traceback:
[C]: in function 'error'
...pack/packer/start/mason.nvim/lua/mason-registry/init.lua:78: in function 'get_package'
...on-tool-installer.nvim/lua/mason-tool-installer/init.lua:111: in function ''
vim/_editor.lua: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>
Error detected while processing InsertEnter Autocommands for "*":
E5108: Error executing lua ...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:179: Vim(echomsg):E114: Missing quote: "Error in packer_compiled: ...vim/site/pa
ck/packer/opt/packer.nvim/lua/packer/load.lua:168: Vim(lua):E5108: Error executing lua ...te/pack/packer/start/filetype.nvim/lua/filetype/init.lua:8: Vim(append):Error
executing lua callback: ...er/opt/nvim-treesitter/lua/nvim-treesitter/highlight.lua:28: attempt to call field 'stop' (a nil value)
stack traceback:
[C]: in function 'cmd'
...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:179: in function <...vim/site/pack/packer/opt/packer.nvim/lua/packer/load.lua:175>
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
Error detected while processing function 4[71]..matchup#delim#get_current[1]..58_get_delim_multi[3]..matchup#ts_engine#get_delim[3]..50_forward:
line 1:
E5108: Error executing lua ...vim-matchup/lua/treesitter-matchup/third-party/utils.lua:116: attempt to call field 'get_node_range' (a nil value)
stack traceback:
...vim-matchup/lua/treesitter-matchup/third-party/utils.lua:116: in function 'is_in_node_range'
...cker/opt/vim-matchup/lua/treesitter-matchup/internal.lua:222: in function 'get_delim'
The text was updated successfully, but these errors were encountered: