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

Error while opening cpp file with neotree in nyoom #156

Open
real-mr-x opened this issue Nov 7, 2023 · 0 comments
Open

Error while opening cpp file with neotree in nyoom #156

real-mr-x opened this issue Nov 7, 2023 · 0 comments

Comments

@real-mr-x
Copy link

real-mr-x commented Nov 7, 2023

when I get into a cpp file using neotree in nyoom it gives me the following error:

 Error 03:12:41 AM notify.error [Neo-tree ERROR] Error opening file: vim/_editor.lua:0: nvim_exec2()..BufReadPost Autocommands for "": Vim(append):Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:24: Error executing lua: /usr/share/nvim/runtime/filetype.lua:25: nvim_exec2()..BufReadPost Autocommands for ""..FileType Autocommands for "*": Vim(append):Error executing lua callback: /usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: query: invalid structure at position 338 for language cpp
stack traceback:
[C]: in function '_ts_parse_query'
/usr/share/nvim/runtime/lua/vim/treesitter/query.lua:259: in function 'get_query'
.../pack/packer/opt/nvim-ts-rainbow2/lua/ts-rainbow/lib.lua:70: in function 'get_query'
...ck/packer/opt/nvim-ts-rainbow2/lua/ts-rainbow/module.lua:30: in function 'is_supported'
...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:387: in function 'is_enabled'
...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:507: in function 'attach_module'
...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:532: in function 'reattach_module'
...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:133: in function <...cker/opt/nvim-treesitter/lua/nvim-treesitter/configs.lua:132>
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'pcall'
...ack/packer/opt/neo-tree.nvim/lua/neo-tree/utils/init.lua:697: in function 'open_file'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:700: in function 'open'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:731: in function 'open_with_cmd'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:740: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>
stack traceback:
[C]: in function 'nvim_cmd'
/usr/share/nvim/runtime/filetype.lua:25: in function </usr/share/nvim/runtime/filetype.lua:24>
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'pcall'
...ack/packer/opt/neo-tree.nvim/lua/neo-tree/utils/init.lua:697: in function 'open_file'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:700: in function 'open'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:731: in function 'open_with_cmd'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:740: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>
stack traceback:
[C]: in function 'nvim_buf_call'
/usr/share/nvim/runtime/filetype.lua:24: in function </usr/share/nvim/runtime/filetype.lua:10>
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function <vim/_editor.lua:0>
[C]: in function 'pcall'
...ack/packer/opt/neo-tree.nvim/lua/neo-tree/utils/init.lua:697: in function 'open_file'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:700: in function 'open'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:731: in function 'open_with_cmd'
...t/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:740: in function 'open'
...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:184: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:183>

informations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant