Closed eeeXun closed 4 months ago
I know there is ibl.config.exclude.filetypes. But I want to disable all filetypes and enable on few filetypes like python.
ibl.config.exclude.filetypes
To achieve this, I have to provide a lot of filetypes in ibl.config.exclude.filetypes. I don't think this makes sense.
Provide the setting ibl.config.include.filetypes. When setup this, all filetypes will be disabled. Only the list in this setting will be enabled.
ibl.config.include.filetypes
You can use :help ibl.hooks.cb.active() for this. Read up on hooks with :help ibl.hooks.
:help ibl.hooks.cb.active()
:help ibl.hooks
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.