Now have 3 separate terms, window, vert & hori, renamed some variables (#251)

This commit is contained in:
Galen Rowell 2021-08-14 23:58:24 +10:00 committed by GitHub
parent c80d79a7cc
commit e80a6935d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 9 deletions

View file

@ -31,3 +31,17 @@ toggleterm.setup {
}
}
}
local Terminal = require("toggleterm.terminal").Terminal
_G.termW = Terminal:new {
direction = "window",
}
_G.termV = Terminal:new {
direction = "vertical",
}
_G.termH = Terminal:new {
direction = "horizontal",
}