Skip to content

Opening a Gitlab URL is not supported on this OS! #535

@maksym-dilanian

Description

@maksym-dilanian

Prerequsities

  • I'm on the latest version of the plugin
  • I've installed the required dependencies
  • I've run :h gitlab.nvim.troubleshooting and followed the steps there

Setup Configuration and Environment

OS version: Microsoft Windows 11 Pro (25H2)
NVIM v0.11.6
Running in Windows Terminal

Just using the default configuration from documentation:

# plugins/gitlab.lua
return {
  "harrisoncramer/gitlab.nvim",
  dependencies = {
    "MunifTanjim/nui.nvim",
    "nvim-lua/plenary.nvim",
    "sindrets/diffview.nvim",
    "stevearc/dressing.nvim", -- Recommended but not required. Better UI for pickers.
    "nvim-tree/nvim-web-devicons", -- Recommended but not required. Icons in discussion tree.
  },
  build = function()
    require("gitlab.server").build(true)
  end, -- Builds the Go binary
  config = function()
    require("gitlab").setup()
  end,
}

Relying on .gitlab.nvim file in the project root.
This is a self-hosted GitLab instance.

# :checkhealth gitlab
gitlab.nvim ~
- ✅ OK Gitlab plugin is okay!

Bug Description

Open MR in browser command raises an error:

Error notify.error gitlab.nvim: Opening a Gitlab URL is not supported on this OS!

Other commands work, for example gls (Show MR summary) displays correct information about MR.

Reproduction Steps

  1. Check out the feature branch
  2. Open Neovim
  3. glo to open MR in browser

Screenshots

Image

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