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

Neovim 0.10 freezes on :q #150

Open
mbwilding opened this issue Feb 24, 2024 · 0 comments
Open

Neovim 0.10 freezes on :q #150

mbwilding opened this issue Feb 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@mbwilding
Copy link

mbwilding commented Feb 24, 2024

Description

When I have the plugin enabled, it will freeze on close and never exit. Have to close my terminal.

Neovim version

NVIM v0.10.0-dev-2427+geb4783fb6
Build type: RelWithDebInfo
LuaJIT 2.1.1707061634

OS information

Windows 11 23H2 (22631.3155)

Steps to reproduce

LazyVim plugin config

return {
    "andweeb/presence.nvim",
    opts = {
        -- General options
        auto_update         = true,                 -- Update activity based on autocmd events (if `false`, map or manually execute `:lua package.loaded.presence:update()`)
        neovim_image_text   = "Screw your IDE.",    -- Text displayed when hovered over the Neovim image
        main_image          = "neovim",             -- Main image display (either "neovim" or "file")
        client_id           = "793271441293967371", -- Use your own Discord application client id (not recommended)
        log_level           = nil,                  -- Log messages at or above this level (one of the following: "debug", "info", "warn", "error", nil)
        debounce_timeout    = 10,                   -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
        enable_line_number  = true,                 -- Displays the current line number instead of the current project
        blacklist           = {},                   -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
        buttons             = true,                 -- Configure Rich Presence button(s), either a boolean to enable/disable, a static table (`{{ label = "<label>", url = "<url>" }, ...}`, or a function(buffer: string, repo_url: string|nil): table)
        file_assets         = {},                   -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
        show_time           = true,                 -- Show the timer

        -- Rich Presence text options
        editing_text        = "Editing %s",         -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
        file_explorer_text  = "Browsing %s",        -- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
        git_commit_text     = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
        plugin_manager_text = "Managing plugins",   -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
        reading_text        = "Reading %s",         -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
        workspace_text      = "Working on %s",      -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
        line_number_text    = "Line %s out of %s",  -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
    }
}

Logs

Can't get the :messages due to the app hanging after :q

@mbwilding mbwilding added the bug Something isn't working label Feb 24, 2024
@mbwilding mbwilding changed the title Neovim 0.10 freezes on ;q Neovim 0.10 freezes on :q Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant