Bugfix: Don't Start Server Right Away (#40)
This MR simplifies the plugin quite a bit by only attempting to start the Go server after you specifically try to run a command. This streamlines working on feature branches and removes the need for a `base_branch` property entirely.
This commit is contained in:
committed by
GitHub
parent
f4aafe46a9
commit
f5bf720b61
10
README.md
10
README.md
@@ -71,18 +71,8 @@ If you don't want to write your authentication token into a dotfile, you may pro
|
||||
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.
|
||||
|
||||
```
|
||||
project_id=112415
|
||||
auth_token=your_gitlab_token
|
||||
gitlab_url=https://my-personal-gitlab-instance.com/
|
||||
base_branch=master
|
||||
```
|
||||
|
||||
## Configuring the Plugin
|
||||
|
||||
|
||||
Here is the default setup function. All of these values are optional, and if you call this function with no values the defaults will be used:
|
||||
|
||||
```lua
|
||||
|
||||
Reference in New Issue
Block a user