You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I found your plugin(I found it in Reddit) I got excited, but when I add it to my configs it sometimes writes this error message(when i start neovim):
when i write ":lua require("toggleterm-manager").open({})" it throw this error:
when I write "Telescope toggleterm_manager" it throws this error:
This is my current toggleterm-manager.lua file:
return {
"ryanmsnyder/toggleterm-manager.nvim",
dependencies = {
"akinsho/nvim-toggleterm.lua",
"nvim-telescope/telescope.nvim",
"nvim-lua/plenary.nvim", -- only needed because it's a dependency of telescope
},
config = true,
}
this is my toggleterm.lua file:
return {
'akinsho/toggleterm.nvim',
version = "*",
config = function()
require('toggleterm').setup {
size = function(term)
if term.direction == "horizontal" then
return 15
elseif term.direction == "vertical" then
return vim.o.columns * 0.4
end
end,
open_mapping = [[<c-\>]],
hide_numbers = true, -- hide the number column in toggleterm buffers
autochdir = false, -- when neovim changes its current directory the terminal will change its own when next it's opened
start_in_insert = true,
persist_mode = true, -- when the term is closed it will not lose its state
shell = vim.o.shell, -- change the default shell
close_on_exit = false, -- close the terminal window when the process exits
auto_scroll = true, -- auto scroll when new output is generated
shade_terminals = true,
persist_size = true,
direction = 'horizontal',
float_opts = {
border = 'single',
width = 150,
height = 40,
winblend = 3,
},
winbar = {
enabled = false,
name_formatter = function(term) -- term: Terminal
return term.name
end
}
}
end
}
I'm using windows.
the toggleterm is working.
I want to add that I just started neovim 2 weeks ago, so I still learning a lot of things
The text was updated successfully, but these errors were encountered:
When I found your plugin(I found it in Reddit) I got excited, but when I add it to my configs it sometimes writes this error message(when i start neovim):
when i write ":lua require("toggleterm-manager").open({})" it throw this error:
when I write "Telescope toggleterm_manager" it throws this error:
This is my current
toggleterm-manager.lua
file:this is my
toggleterm.lua
file:I'm using windows.
the toggleterm is working.
I want to add that I just started neovim 2 weeks ago, so I still learning a lot of things
The text was updated successfully, but these errors were encountered: