Update README.md

The token should be GITLAB_TOKEN when set in the shell.
This commit is contained in:
Harrison (Harry) Cramer
2023-08-16 19:11:42 -04:00
committed by GitHub
parent 6bb7575c6d
commit 6274746d4b

View File

@@ -62,7 +62,7 @@ gitlab_url=https://my-personal-gitlab-instance.com/
If you don't want to write your authentication token into a dotfile, you may provide it as a shell variable. For instance in your `.bashrc` or `.zshrc` file:
```bash
export AUTH_TOKEN="your_gitlab_token"
export GITLAB_TOKEN="your_gitlab_token"
```
By default, the plugin will interact with MRs against a "main" branch. You can configure this by passing in the `base_branch` option to the `.gitlab.nvim` configuration file for your project.