We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NVIM v0.10.0-dev-449+gcc41697775
Arch linux
after using edgy, I cannot use toggleterm's float term.
run :ToggleTerm direction=float in nvim
:ToggleTerm direction=float
Use float term normally
-- DO NOT change the paths and don't remove the colorscheme local root = vim.fn.fnamemodify("./.repro", ":p") -- set stdpaths to use .repro for _, name in ipairs({ "config", "data", "state", "cache" }) do vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name end -- bootstrap lazy local lazypath = root .. "/plugins/lazy.nvim" if not vim.loop.fs_stat(lazypath) then vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins local plugins = { "folke/tokyonight.nvim", { "folke/edgy.nvim", opts = { bottom = { { ft = "toggleterm", size = { height = 0.4 } }, }, }, }, { "akinsho/toggleterm.nvim", opts = {} }, } require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight")
The text was updated successfully, but these errors were encountered:
Well yes, that's the whole idea of edgy. That you move any window in a layout you define. If you don't want that, then don't use edgy.
If you just want to exclude the floating windows, add
{ ft = "toggleterm", size = { height = 0.4 }, filter = function(buf, win) return vim.api.nvim_win_get_config(win).relative == "" end},
Sorry, something went wrong.
Thx! I just wanna exclude the floating term
I just updated the readme and changed the toggleterm example to exclude floating windows
No branches or pull requests
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.10.0-dev-449+gcc41697775
Operating system/version
Arch linux
Describe the bug
after using edgy, I cannot use toggleterm's float term.
simplescreenrecorder-2023-06-06_22.34.50.mp4
Steps To Reproduce
run
:ToggleTerm direction=float
in nvimExpected Behavior
Use float term normally
Repro
The text was updated successfully, but these errors were encountered: