change toggleterm to use 'float'
This commit is contained in:
@@ -5,7 +5,10 @@ return { {
|
|||||||
event = 'VeryLazy',
|
event = 'VeryLazy',
|
||||||
---@type ToggleTermConfig
|
---@type ToggleTermConfig
|
||||||
---@diagnostic disable-next-line: missing-fields
|
---@diagnostic disable-next-line: missing-fields
|
||||||
opts = { open_mapping = [[<C-\>]] },
|
opts = {
|
||||||
|
direction = "float",
|
||||||
|
open_mapping = [[<C-\>]]
|
||||||
|
},
|
||||||
config = function(_, opts)
|
config = function(_, opts)
|
||||||
local tt = require('toggleterm')
|
local tt = require('toggleterm')
|
||||||
local term = require('toggleterm.terminal')
|
local term = require('toggleterm.terminal')
|
||||||
|
|||||||
Reference in New Issue
Block a user