Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Failed to open playground with nvim latest #119

Open
ray-x opened this issue Mar 19, 2023 · 1 comment
Open

Failed to open playground with nvim latest #119

ray-x opened this issue Mar 19, 2023 · 1 comment

Comments

@ray-x
Copy link

ray-x commented Mar 19, 2023

It works fine with nvim-0.8.x but failed to work with nvim github latest(NVIM v0.9.0-dev-1248+g204a8b17c)
I can not reproduce with minium vimrc.

The issue seems to related to this line:

api.nvim_set_current_win(current_window)

If I comment it out, it works fine again.
Any ideas?

@ray-x ray-x changed the title [Debug] Failed to open playground with nvim latest Failed to open playground with nvim latest Apr 4, 2023
@desdic
Copy link

desdic commented Apr 9, 2023

since new release it doesn't seem like playground works at all .. tried reinstalling but I still get

Error executing lua callback: /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:73: lang: expected string, got nil
stack traceback:
        [C]: in function 'error'
        vim/shared.lua: in function 'validate'
        /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:73: in function 'add'
        /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:135: in function 'inspect'
        ...ayground/lua/nvim-treesitter-playground/query_linter.lua:80: in function 'lint'
        ...ayground/lua/nvim-treesitter-playground/query_linter.lua:159: in function <...ayground/lua/nvim-treesitter-playground/query_linter.lua:158>```

NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3

system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

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

No branches or pull requests

2 participants