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.3
Windows 10
I tried to hide the filename in the table of contents (gO), but when max_filename_width returns 0, there are still characters left in the list.
gO
max_filename_width
minor (annoyance)
:help
:q
Hide the filename when max_filename_width returns 0.
No response
-- 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", "--single-branch", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) -- install plugins local plugins = { "folke/tokyonight.nvim", { "stevearc/quicker.nvim", config = function() require("quicker").setup({ -- add your config here max_filename_width = function() if vim.w.qf_toc or (vim.w.quickfix_title and vim.w.quickfix_title:find("TOC")) then return 0 end return math.floor(math.min(95, vim.o.columns / 2)) end, }) end, }, -- add any other plugins here } require("lazy").setup(plugins, { root = root .. "/plugins", }) vim.cmd.colorscheme("tokyonight") -- add anything else here
The text was updated successfully, but these errors were encountered:
fix: hide filename when max_filename_width = 0 (#36)
e4fb0b1
Should be fixed now
Sorry, something went wrong.
No branches or pull requests
Neovim version (nvim -v)
NVIM v0.10.3
Operating system/version
Windows 10
Describe the bug
I tried to hide the filename in the table of contents (
gO
), but whenmax_filename_width
returns 0, there are still characters left in the list.quicker_1033.mp4
What is the severity of this bug?
minor (annoyance)
Steps To Reproduce
:help
gO
:q
:help
gO
Expected Behavior
Hide the filename when
max_filename_width
returns 0.Minimal example file
No response
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: