Skip to content

[Bug]: FocusToggle don't enable the plugin when called for the first time in a nvim instance #34

@younger-1

Description

@younger-1

Problem:

After I started nvim with two windows in a tab, I called :FocusToggle and no window resized. If I I call :FocusToggle second time, it works. If I call :FocusEnable at the begining, it works too.

Expeced behavior

Calling :FocusToggle for the first time will resize windows

This is my focus config and mapping.

{
    "beauwilliams/focus.nvim",
    cmd = { "FocusToggle" },
}
nnoremap <leader>kz <cmd>FocusToggle<cr>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions