refactor(nvim): use float for toggleterm

This commit is contained in:
Price Hiller 2022-09-12 02:02:51 -05:00
parent 036fdae354
commit 3adaeadd98

View File

@ -769,15 +769,8 @@ return packer.startup({
config = function()
require("toggleterm").setup({
start_in_insert = false,
direction = "vertical",
direction = "float",
autochdir = true,
size = function(term)
if term.direction == "vertical" then
return vim.o.columns * 0.5
else
return 30
end
end,
winbar = {
enable = true,
name_formatter = function(term) -- term: Terminal