diff options
Diffstat (limited to 'lua/maps')
-rw-r--r-- | lua/maps/terminal.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/maps/terminal.lua b/lua/maps/terminal.lua index c3dc804..a1cde60 100644 --- a/lua/maps/terminal.lua +++ b/lua/maps/terminal.lua @@ -1,14 +1,14 @@ vim.api.nvim_set_keymap( "n", "<leader>t", - ":lua toggle_terminal(vim.g.terminal_height)<CR>", + ":lua toggle_terminal()<CR>", {silent = true, noremap = true} ) vim.api.nvim_set_keymap( "t", "<leader>t", - "<C-\\><C-n>:lua toggle_terminal(vim.g.terminal_height)<CR>", + "<C-\\><C-n>:lua toggle_terminal()<CR>", {silent = true, noremap = true} ) |