Skip to content

Error with showtablines when toggling Ataraxis or Minimalist off #125

@clockworkpc

Description

@clockworkpc

Neovim Config:

NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Installed the plugin with Lazy.nvim in NVChad:

  {
    'pocco81/true-zen.nvim', lazy = false
  }

GIVEN the above installation
WHEN I enter any mode
THEN everything works fine
BUT WHEN I exit any mode
THEN I get an error such as the following:

Error:

Error executing Lua callback: ...hare/nvim/lazy/true-zen.nvim/lua/true-zen/minimalist.lua:118: Invalid value for option 'showtabline': expected number, got boolean true
stack traceback:                                                                                                                                                                              
        [C]: in function '__newindex'                                                                                                                                                         
        ...hare/nvim/lazy/true-zen.nvim/lua/true-zen/minimalist.lua:118: 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/plugin/true-zen.lua:8>   

The stack trace always comes back to true-zen/minimalist.lua:118.

What is happening to showtablines in this loop?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions