Set up comment to allow for comments on unmodified lines
This commit is contained in:
@@ -42,9 +42,6 @@ M.setup = function(args, build_only)
|
||||
state.BIN = parent_dir .. "/bin"
|
||||
|
||||
if args == nil then args = {} end
|
||||
if args.dev == true then
|
||||
M.build(args)
|
||||
end
|
||||
|
||||
local binExists = io.open(state.BIN, "r")
|
||||
if not binExists or args.dev == true then
|
||||
@@ -65,7 +62,7 @@ M.setup = function(args, build_only)
|
||||
|
||||
-- Override project_id in setup call if configuration file is present
|
||||
local config_file_path = vim.fn.getcwd() .. "/.gitlab.nvim"
|
||||
local config_file_content = read_file(config_file_path)
|
||||
local config_file_content = u.read_file(config_file_path)
|
||||
if config_file_content ~= nil then
|
||||
args.project_id = config_file_content
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user