Remove nesting numbers near the linenumbers
MrBrN197 opened this issue · comments
Brian Orora commented
Neovim version (nvim -v | head -n1)
v0.10.0-dev-1353+gaa62579a6
Operating system/version
Ubuntu 22
How to reproduce the issue
cat mini.lua
-- Use Vim packages install the plugin, also work with some plugins manager such as packer.nvim
vim.o.packpath = '~/.local/share/nvim/site'
vim.cmd('packadd promise-async')
vim.cmd('packadd nvim-ufo')
-- Setting
vim.o.foldcolumn = '1'
vim.o.foldlevel = 99
vim.o.foldlevelstart = -1
vim.o.foldenable = true
local ufo = require('ufo')
ufo.setup()
vim.keymap.set('n', 'zR', ufo.openAllFolds)
vim.keymap.set('n', 'zM', ufo.closeAllFolds)
nvim --clean +'so mini.lua'
...
Expected behavior
strange numbers on the number line numbers on the column line
Actual behavior
strange numbers on the column line.
how do I get rid of this numbers on the side that show the level of nesting.
Nullarity commented
And finally, is there a clear answer how to remove these numbers? The link provided didn't help ((
Rocky commented
@Nullarity Two ways:
- Make a slight modification to the neovim source code and build it by yourself. You may refer to this comment #4 (comment)). Note: since neovim 0.9
src/nvim/screen.c
was refactored tosrc/nvim/drawline.c
, so make this change indrawline.c
. - Need the assistance of another plugin statuscol.nvim. The link above also provides how to config it.