vim-apathy advertises the many possibilities of :h include-search
.
However, if the programming language under consideration (here GAP), does not have include expressions but the interpreter always loads a standard library from a library path and other packages with other means, are these languages excluded from this functionality?
Is it possible to explicitly add files, e.g. in an ftplugin, to the include search, so they are searched when one presses [i
?
I was looking for something like
setlocal includedefaults+=$LIB/*.gd,$LIB/*.gi
or a vim function which can customize the include file list.
A plugin or NeoVim only solution would be good enough as well.