fix: Error messages and run all tests (#381) feat: Automatically open fold under cursor (#380) fix: Discussion ID is not required (#383) chore: Add more emojis (#384) fix: Publish all drafts (#391) fix: Make discussion tree buffers no-modifiable (#394) fix: Incorrect warning about commits (#395) fix: Show draft replies in the correct tree (#396) fix: Cannot choose merge requests (#398) --------- Co-authored-by: George Kontridze <george.kontridze@gmail.com> Co-authored-by: Jakub F. Bortlík <jakub.bortlik@proton.me>
26 lines
671 B
Go
26 lines
671 B
Go
package app
|
|
|
|
type PluginOptions struct {
|
|
GitlabUrl string `json:"gitlab_url"`
|
|
Port int `json:"port"`
|
|
AuthToken string `json:"auth_token"`
|
|
LogPath string `json:"log_path"`
|
|
Debug struct {
|
|
Request bool `json:"request"`
|
|
Response bool `json:"response"`
|
|
GitlabRequest bool `json:"gitlab_request"`
|
|
GitlabResponse bool `json:"gitlab_response"`
|
|
} `json:"debug"`
|
|
ChosenMrIID int `json:"chosen_mr_iid"`
|
|
ConnectionSettings struct {
|
|
Insecure bool `json:"insecure"`
|
|
Remote string `json:"remote"`
|
|
} `json:"connection_settings"`
|
|
}
|
|
|
|
var pluginOptions PluginOptions
|
|
|
|
func SetPluginOptions(p PluginOptions) {
|
|
pluginOptions = p
|
|
}
|