Closed delphinus closed 3 weeks ago
It shows 'listchars' characters in neominimap when you set list in init.lua. This fixes it.
'listchars'
set list
init.lua
Example config below:
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim" if not (vim.uv or vim.loop).fs_stat(lazypath) then vim.fn.system { "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", -- latest stable release lazypath, } end vim.opt.rtp:prepend(lazypath) require("lazy").setup { { "nvim-treesitter/nvim-treesitter", build = ":TSInstallSync lua" }, { "Isrothy/neominimap.nvim", init = function() vim.opt.wrap = false -- Recommended vim.opt.sidescrolloff = 36 -- It"s recommended to set a large value vim.g.neominimap = { auto_enable = true, git = { enabled = false }, } vim.opt.list = true vim.opt.listchars = { eol = "⏎", extends = "‥", } vim.api.nvim_set_hl(0, "NonText", { fg = "NvimLightRed" }) end, }, }
Thanks for the PR. Please also update the default winopt in README.md to make them consistent. I'm going to merge after that.
README.md
@Isrothy OK, I added.
It shows
'listchars'
characters in neominimap when youset list
ininit.lua
. This fixes it.Example config below: