Skip to content

Commit

Permalink
refactor: toggleterm
Browse files Browse the repository at this point in the history
  • Loading branch information
outragedline committed Jan 18, 2025
1 parent 9d7734d commit 3f4fb47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 14 additions & 8 deletions lua/fastvim/configs/toggleterm.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
local toggleterm = {
require("toggleterm").setup({
size = 20,
open_mapping = [[<C-t>]],
direction = "horizontal",
}),
}
return {
"akinsho/toggleterm.nvim",
version = "*",
config = function()
local toggleterm = {
require("toggleterm").setup {
size = 20,
open_mapping = [[<C-t>]],
direction = "horizontal",
},
}

return toggleterm
return toggleterm
end,
}
8 changes: 1 addition & 7 deletions lua/fastvim/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,8 @@ return {
},
require "fastvim.configs.plenary",
require "fastvim.configs.mini",
require "fastvim.configs.toggleterm",

{
"akinsho/toggleterm.nvim",
version = "*",
config = function()
require("fastvim.configs.toggleterm")
end,
},
{
"BrunoCiccarino/neokinds",
config = function()
Expand Down

0 comments on commit 3f4fb47

Please sign in to comment.