rgroli/other.nvim

Question: do not specify match group in 'target'

sshelll opened this issue · 1 comments

{
    pattern = "/lua/plugins.lua",
    target = "/lua/plugin-config/(.*).lua",
},

I wonder if it is possible to show all the lua files in /lua/plugin-config/ when I am editing /lua/plugins.lua?

@sshelll Yes, that works. Just try:

{
    pattern = "/lua/plugins.lua",
    target = "/lua/plugin-config/*.lua",
},