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 executing Lua callback: vim/_editor.lua:0: nvim_exec2(): Vim(set):E474: Invalid argument: nostatusline stack traceback: [C]: in function 'nvim_exec2' vim/_editor.lua: in function 'cmd' ...hare/nvim/lazy/true-zen.nvim/lua/true-zen/minimalist.lua:125: in function 'off' .../share/nvim/lazy/true-zen.nvim/lua/true-zen/ataraxis.lua:252: in function 'off' .../share/nvim/lazy/true-zen.nvim/lua/true-zen/ataraxis.lua:291: in function 'toggle' ...ocal/share/nvim/lazy/true-zen.nvim/lua/true-zen/init.lua:4: in function 'ataraxis' ....local/share/nvim/lazy/true-zen.nvim/plugin/true-zen.lua:9: in function <....local/share/nvim/lazy/true-zen.nvim/plu gin/true-zen.lua:8> #139

Open
hrqmonteiro opened this issue Jul 30, 2024 · 4 comments

Comments

@hrqmonteiro
Copy link

Plugin is not usable. You call, for example, TZAtaraxis and it activates, then when you call again you are not able to get out of the zen mode:

Error executing Lua callback: vim/_editor.lua:0: nvim_exec2(): Vim(set):E474: Invalid argument: nostatusline
stack traceback:
        [C]: in function 'nvim_exec2'
        vim/_editor.lua: in function 'cmd'
        ...hare/nvim/lazy/true-zen.nvim/lua/true-zen/minimalist.lua:125: in function 'off'
        .../share/nvim/lazy/true-zen.nvim/lua/true-zen/ataraxis.lua:252: in function 'off'
        .../share/nvim/lazy/true-zen.nvim/lua/true-zen/ataraxis.lua:291: in function 'toggle'
        ...ocal/share/nvim/lazy/true-zen.nvim/lua/true-zen/init.lua:4: in function 'ataraxis'
        ....local/share/nvim/lazy/true-zen.nvim/plugin/true-zen.lua:9: in function <....local/share/nvim/lazy/true-zen.nvim/plu
gin/true-zen.lua:8>

image

@mgiugliano
Copy link

mgiugliano commented Aug 7, 2024

I have been experiencing the exact same issue, after upgrading to the latest nvim version (i.e. brew install ... --HEAD), 0.11.0.

It was instead working without problems with a previous version (0.9.5) of neovim. :-(

@denniswiersma
Copy link

Manually applying the fix in #133 made it work again for me.

@hrqmonteiro
Copy link
Author

Manually applying the fix in #133 made it work again for me.

It only works for enabling it, and still is bugged, shows two statuslines

image

And when you toggle back, this another error arises

image

@midirhee12
Copy link

Manually applying the fix in #133 made it work again for me.

@denniswiersma you can just use the repo from the PR directly instead of manually applying it via mrcapivaro/true-zen.nvim.

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

4 participants