From 6e2f59618c0f3a13c7b3a34b333d05a169380fdf Mon Sep 17 00:00:00 2001 From: Ian Mancini Date: Sun, 26 Mar 2023 23:06:27 +0200 Subject: [PATCH] feat: improve git/term config --- lua/plugins/term.lua | 1 + lua/settings.lua | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/plugins/term.lua b/lua/plugins/term.lua index 68b3d0a..c05acdb 100644 --- a/lua/plugins/term.lua +++ b/lua/plugins/term.lua @@ -8,6 +8,7 @@ require("toggleterm").setup({ local Terminal = require("toggleterm.terminal").Terminal local lazygit = Terminal:new({ + count = 999, cmd = "lazygit", hidden = true, direction = "tab", diff --git a/lua/settings.lua b/lua/settings.lua index 18a1cfe..2ddc67b 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -40,8 +40,7 @@ vim.api.nvim_create_autocmd("TermOpen", { group = "Terminal", pattern = "*", callback = function() - vim.wo.number = false - vim.wo.relativenumber = false + -- vim.bo.filetype = "terminal" vim.api.nvim_buf_set_keymap(0, "t", "", [[]], { noremap = true }) vim.cmd("startinsert") end,