GitLab plugin for Neovim - gitlab.vim
The GitLab plugin is a Lua-based plugin that integrates GitLab with Neovim.
Install and configure the extension.
Configure <Plug>
key mappings
For convenience, this plugin provides <Plug>
key mappings. To use the <Plug>(GitLab...)
key mapping,
you must include your own key mapping that references it:
-- Toggle Code Suggestions on/off with CTRL-g in normal mode:
vim.keymap.set('n', '<C-g>', '<Plug>(GitLabToggleCodeSuggestions)')
Disable gitlab.statusline
By default, this plugin enables gitlab.statusline
, which uses the built-in statusline
to show the status of the Code Suggestions integration. If you want to disable gitlab.statusline
,
add this to your configuration:
require('gitlab').setup({
statusline = {
enabled = false
}
})
Disable Started Code Suggestions LSP Integration
messages
To change the minimal message level, add this to your configuration:
require('gitlab').setup({
minimal_message_level = vim.log.levels.ERROR,
})
Report issues with the extension
Report any issues, bugs, or feature requests in the
gitlab.vim
issue queue.
Submit your feedback in issue 22
in the gitlab.vim
repository.
Related topics
Docs
Edit this page to fix an error or add an improvement in a merge request.
Create an issue to suggest an improvement to this page.
Product
Create an issue if there's something you don't like about this feature.
Propose functionality by submitting a feature request.
Feature availability and product trials
View pricing to see all GitLab tiers and features, or to upgrade.
Try GitLab for free with access to all features for 30 days.
Get help
If you didn't find what you were looking for, search the docs.
If you want help with something specific and could use community support, post on the GitLab forum.
For problems setting up or using this feature (depending on your GitLab subscription).
Request support