Back to Gitlabhq

GitLab plugin for Neovim - `gitlab.vim`

doc/editor_extensions/neovim/_index.md

18.11.21.7 KB
Original Source

The GitLab plugin is a Lua-based plugin that integrates GitLab with Neovim.

The plugin allows you to use GitLab Duo Code Suggestions in the command line.

To install and configure the extension, see Install and set up.

Disable gitlab.statusline

By default, this plugin enables gitlab.statusline, which uses the built-in statusline to show the status of the GitLab Duo Code Suggestions integration. If you want to disable gitlab.statusline, add this to your configuration:

lua
require('gitlab').setup({
  statusline = {
    enabled = false
  }
})

Disable Started Code Suggestions LSP Integration messages

To change the minimal message level, add this to your configuration:

lua
require('gitlab').setup({
  minimal_message_level = vim.log.levels.ERROR,
})

Update the extension

To update the gitlab.vim plugin, use git pull or your specific Vim plugin manager.

Report issues with the extension

Report any issues, bugs, or feature requests in the gitlab.vim issue tracker.

Submit your feedback in issue 22 in the gitlab.vim repository.