willothy / veil.nvim

A blazingly fast, animated, and infinitely customizeable startup / dashboard plugin (currently unmaintained, but with plans for a ground-up rewrite)
151 stars 7 forks source link

Hide listchar characters when veil is loaded #10

Open yadobler opened 1 year ago

yadobler commented 1 year ago

If using an indent plugin or any form of "showing special characters" like indent-blankline.nvim, the special characters show for eol (like "↴") at the left.

Current workaround: making an autocmd for "Veil" filetypes, and setting the local option of "list" to false:

vim.api.nvim_create_autocmd('FileType', {
    pattern = {"veil"},
    callback = function(_)
        vim.opt_local.list = false
    end
})

(sorry if this isnt the correct way to raise issue, this is my first time on github using more than just git commit 😄, i love this plugin)

willothy commented 1 year ago

No worries, this is the right place! I'm currently in the process of rewriting the entire plugin to be more flexible and easier to configure, so I'll make sure this fix makes it into that patch :)

I've got a fair bit done, just working on reimplementing the builtins; It should be live some time this week.

Thanks, glad you like it!