summaryrefslogtreecommitdiff
path: root/lua/core/terminal.lua
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2021-07-24 21:17:11 -0400
committerGitHub <[email protected]>2021-07-24 21:17:11 -0400
commit98f8a77819670ce6012216e01885c135a6d3a289 (patch)
treeb655da889c33e0eb89251878783700a8cd014a27 /lua/core/terminal.lua
parent0884dcd84670bc097c34253e983d2cde9c209dfa (diff)
New contract (#1080)
Changes to the global config object O is now lvim user_plugins is now plugins user_autocommands is now autocommands No more lang specific plugins Null-ls has replaced both formatter.nvim and nvim-lint
Diffstat (limited to 'lua/core/terminal.lua')
-rw-r--r--lua/core/terminal.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/core/terminal.lua b/lua/core/terminal.lua
index 0f930453..b7c58c0d 100644
--- a/lua/core/terminal.lua
+++ b/lua/core/terminal.lua
@@ -1,6 +1,6 @@
local M = {}
M.config = function()
- O.plugin["terminal"] = {
+ lvim.builtin["terminal"] = {
-- size can be a number or function which is passed the current terminal
size = 5,
-- open_mapping = [[<c-\>]],
@@ -47,8 +47,8 @@ M.setup = function()
"<cmd>lua require('core.terminal')._lazygit_toggle()<CR>",
{ noremap = true, silent = true }
)
- O.plugin.which_key.mappings["gg"] = "LazyGit"
- terminal.setup(O.plugin.terminal)
+ lvim.builtin.which_key.mappings["gg"] = "LazyGit"
+ terminal.setup(lvim.builtin.terminal)
end
local function is_installed(exe)