From 690a4cab3d440478eba70b48d073970a579e30b8 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sun, 28 Apr 2024 23:20:18 +0200 Subject: style: formatting --- lua/pml68/configs/toggleterm.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lua/pml68/configs/toggleterm.lua') diff --git a/lua/pml68/configs/toggleterm.lua b/lua/pml68/configs/toggleterm.lua index 997802b..e2681b5 100644 --- a/lua/pml68/configs/toggleterm.lua +++ b/lua/pml68/configs/toggleterm.lua @@ -1,5 +1,5 @@ -local Terminal = require('toggleterm.terminal').Terminal -local lazygit = Terminal:new({ +local Terminal = require('toggleterm.terminal').Terminal +local lazygit = Terminal:new({ cmd = "lazygit", hidden = true, direction = "float", @@ -12,9 +12,9 @@ function _lazygit_toggle() lazygit:toggle() end -vim.keymap.set("n", "g", " lua _lazygit_toggle() ", {noremap = true, silent = true}) +vim.keymap.set("n", "g", " lua _lazygit_toggle() ", { noremap = true, silent = true }) function _G.set_terminal_keymaps() - local opts = {buffer = 0} + local opts = { buffer = 0 } vim.keymap.set('t', '', [[]], opts) vim.keymap.set('t', '', [[wincmd h]], opts) vim.keymap.set('t', '', [[wincmd j]], opts) -- cgit v1.2.3