Files
gitlab.nvim/lua/gitlab/state.lua
Harrison (Harry) Cramer f5bf720b61 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.
2023-08-17 16:22:53 -04:00

33 lines
670 B
Lua

local M = {}
M.BIN_PATH = nil
M.BIN = nil
M.PROJECT_ID = nil
M.ACTIVE_DISCUSSION = nil
M.ACTIVE_NOTE = nil
M.keymaps = {
popup = {
exit = "<Esc>",
perform_action = "<leader>s",
},
discussion_tree = {
jump_to_location = "o",
edit_comment = "e",
delete_comment = "dd",
reply_to_comment = "r",
toggle_node = "t",
toggle_resolved = "p"
},
dialogue = {
focus_next = { "j", "<Down>", "<Tab>" },
focus_prev = { "k", "<Up>", "<S-Tab>" },
close = { "<Esc>", "<C-c>" },
submit = { "<CR>", "<Space>" },
},
review = {
toggle = "<leader>glt"
}
}
return M