Skip to content

rnprest/merge-request.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


merge-request.nvim

merge-request.nvim

PR Lua

Create GitLab Merge Requests directly from within neovim, by using their Git push options.

Requirements

Installation and Setup

Using packer:

use {
    'rnprest/merge-request.nvim',
    requires = 'nvim-lua/plenary.nvim',
    config = function()
        require('merge-request').setup {
            -- Default options are listed below - you can just call setup() if these are fine with you
            mapping = '<leader>mr',
            open_in_browser = true,
            remove_source_branch = true,
            draft = false,
        }
    end,
}

Usage

  1. Hit <leader>mr (or your provided override)
  2. Start typing the title of your merge request
    • Hit <CR> to save the title
  3. Start typing the description of your merge request
    • Hit q or <esc> to abort the merge request creation
    • Hit <CR> to save the description and submit the MR

Documentation

Access the help tags with :h merge-request

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages