Indeed, this worked:
:set runtimepath=~/.vim/ftplugin/foo,$VIMRUNTIME
I assume I can add it to .vimrc, so I don't need to do it every time.
Thanks a lot for your help !!!
Cheers,
Jose
El dom, 11 jun 2023 a las 17:37, Gary Johnson ()
escribió:
> On 2023-06-10, Jose Caballero wrote:
> >
>
On 2023-06-12, Jose Caballero wrote:
> Indeed, this worked:
>
> :set runtimepath=~/.vim/ftplugin/foo,$VIMRUNTIME
>
> I assume I can add it to .vimrc, so I don't need to do it every time.
>
> Thanks a lot for your help !!!
You're welcome. I'm glad that worked.
By default, 'runtimepath'
> Indeed, this worked:
>
> :set runtimepath=~/.vim/ftplugin/foo,$VIMRUNTIME
>
> I assume I can add it to .vimrc, so I don't need to do it every time.
Although this works, the "normal" way is to put your foo.txt help file
in ~/.vim/doc.
An alternative is to use packages, see ":help packa