Description
Currently (2018-04-05) creating an autoload directory under your config directory disables the default autoload folder. I understand this behavior was decided after much debate, but I believe it should be reconsidered.
The current solution is to symlink to the kakoune autoload folder to re-enable autoloading of core scripts. This is generally a really good idea because things like doc, ctags, autowrap, language support/syntax highlighting, grepping, linting, make, diff, and man are only functional when you allow the default autoload directories to be loaded.
I do not think that most people intend to disable all the above listed features by creating an autoload directory, in most cases I suspect people simply want to install a plugin to extend kakoune. As more important functionality is added to those folders, the importance of them not being accidentally disabled goes up. This dovetails with the growth of the plugin ecosystem. I think those who want exclusive behavior are the 1% and we should strive to solve for the 99% first and let the extreme power users read the documentation (which they can because we made sure :doc was loaded!).
So, what are possible solutions and concerns?
Solutions:
- The first sort of obvious solution is redefining the behavior of autoload to be run after the system default autoload. This would require a new directory like autoload-exclusive for users wanting the old behavior.
Concerns:
- This will break a lot of configs in the wild, because it will double source scripts. A possible solution is a module system.