@coolbean @reia interesting . but yea i understand how it works , what i meant was ti draw a parallel : in vim , terminal buffers have their own "filetype" value as wrll for example . all buffers do
what i meant is , one can implement the same tyoe of things by having specific plugins and lua scripts run only on a specific event (activating a type of buffer) happens
thats how most language-specific plugins work in nvim ^^