Closed ghost closed 3 months ago
Hi @levioneyh , thanks for the feature suggestion!
I have implemented the feature for the always-on mode in this commit 7c482d9b93641c61e1b9c7372a555f8e2953f958 . The feature for the on-key mode is WIP right now. You can now disable certain filetypes and buftypes by providing a list:
require("eyeliner").setup({
disabled_filetypes = {"NvimTree", "help"},
disabled_buftypes = {"nofile"}
})
I don't know if it's the same for Neo-tree, but for nvim-tree.lua, I had to add "nofile" as a disabled buftype in order for eyeliner to be disabled on nvim-tree's file explorer.
Let me know if it works!
it works perfectly, thanks!
Awesome! I've also just added it to the on-key mode as well in this commit c4afbdd1eb635330200825786916bb699229a60f . We can reopen this issue if there's any problems 😄
I manually implemented it with the
EyelinerEnable
andEyelinerDisable
commands, but it would be nice to have a simple option to list the excluded filetypes like quick-scope has.