diff options
author | opalmay <[email protected]> | 2023-02-14 22:51:01 +0200 |
---|---|---|
committer | opalmay <[email protected]> | 2023-04-12 13:56:59 +0300 |
commit | 5eb2f1a37aed5fad4a467e186383e60d55411d4e (patch) | |
tree | 288b440f6e5e4909672c9910c5e3596f4393e8d3 /lua/lvim/config/_deprecated.lua | |
parent | 81a9a92d104f0eb06fc785d04e98e68a24cbd328 (diff) |
refactor: keybinds -> terminals, keybind -> term_opts
Diffstat (limited to 'lua/lvim/config/_deprecated.lua')
-rw-r--r-- | lua/lvim/config/_deprecated.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lvim/config/_deprecated.lua b/lua/lvim/config/_deprecated.lua index 6857c8ec..ceae7216 100644 --- a/lua/lvim/config/_deprecated.lua +++ b/lua/lvim/config/_deprecated.lua @@ -158,7 +158,7 @@ function M.post_load() if lvim.builtin.terminal.execs then deprecate( "lvim.builtin.terminal.execs", - "Use `lvim.builtin.terminal.commands` instead. See https://www.lunarvim.org/docs/configuration/keybindings#toggleterm-terminal-mappings" + "Use `lvim.builtin.terminal.terminals` instead. See https://www.lunarvim.org/docs/configuration/keybindings#toggleterm-terminal-mappings" ) for _, v in ipairs(lvim.builtin.terminal.execs) do local keybind = { @@ -168,7 +168,7 @@ function M.post_load() direction = v[4], size = v[5], } - lvim.builtin.terminal.keybinds[#lvim.builtin.terminal.keybinds + 1] = keybind + lvim.builtin.terminal.terminals[#lvim.builtin.terminal.terminals + 1] = keybind end end end |