Only enabled on few filetypes
eeeXun opened this issue · 4 comments
eeeXun commented
Problem
I know there is ibl.config.exclude.filetypes
. But I want to disable all filetypes and enable on few filetypes like python.
To achieve this, I have to provide a lot of filetypes in ibl.config.exclude.filetypes
. I don't think this makes sense.
Expected behavior
Provide the setting ibl.config.include.filetypes
. When setup this, all filetypes will be disabled. Only the list in this setting will be enabled.
lukas-reineke commented
You can use :help ibl.hooks.cb.active()
for this. Read up on hooks with :help ibl.hooks
.