mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(terminal): allow disabling the open binding for toggleterm
This commit is contained in:
parent
cbb94752ae
commit
abf127db83
1 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ M.setup = function()
|
|||
direction = lvim.builtin.terminal.direction,
|
||||
size = lvim.builtin.terminal.size,
|
||||
}
|
||||
M.add_exec(default_term_opts)
|
||||
if lvim.builtin.terminal.open_mapping then
|
||||
M.add_exec(default_term_opts)
|
||||
end
|
||||
|
||||
for i, exec in pairs(lvim.builtin.terminal.execs) do
|
||||
local opts = {
|
||||
|
|
Loading…
Reference in a new issue