Feat: Remove Requirement for Dotfile (#84)
This MR removes the requirement for a dotfile (the dotfile is now optional and will override the configuration provided via environment variables). The requirement for providing a project ID is also eliminated, by parsing the namespace and project name from the SSH or HTTPS remote, and then using that to query Gitlab for a matching project.
This commit is contained in:
committed by
GitHub
parent
38df51bfbc
commit
80b597e56a
@@ -21,10 +21,7 @@ return {
|
||||
args = {}
|
||||
end
|
||||
server.build() -- Builds the Go binary if it doesn't exist
|
||||
state.setPluginConfiguration() -- Sets configuration from `.gitlab.nvim` file
|
||||
if not state.merge_settings(args) then -- Sets keymaps and other settings from setup function
|
||||
return
|
||||
end
|
||||
state.merge_settings(args) -- Sets keymaps and other settings from setup function
|
||||
require("gitlab.colors") -- Sets colors
|
||||
reviewer.init()
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user