scope.nvim
scope.nvim copied to clipboard
[Feature Request] Auto associate a set of file with a specific tab when openning
I'm looking for a way to define a condition to associate a set of file with a tab For example, I would like when openning, each "*.test.ts" come into a specific tab.
It's best if I can provide a callback to define association policy during setup, something like the pseudo code
require("scope").setup {
policy = function (file)
if (file.end_width(".test.ts") then return 1 end
end
}