I think using ~/.vim/doc/ is cleaner than ~/.vim/ftplugin/foo/doc
Thanks a lot for all your help.
Cheers,
Jose
El lun, 12 jun 2023 a las 21:18, Bram Moolenaar ()
escribió:
>
> > Indeed, this worked:
> >
> > :set runtimepath=~/.vim/ftplugin/foo,$VIMRUNTIME
> >
> > I assume I can add it to
> 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
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.
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:
> >
>
that may be it.
Thanks a lot.
Jose
El dom, 11 jun 2023 a las 17:37, Gary Johnson ()
escribió:
> On 2023-06-10, Jose Caballero wrote:
> >
> > El sáb, 10 jun 2023 a las 18:51, Gary Johnson escribió:
> >
> > On 2023-06-10, Jose Caballero wrote:
> > > Hi,
> > > apologies if this is a
On 2023-06-10, Jose Caballero wrote:
>
> El sáb, 10 jun 2023 a las 18:51, Gary Johnson escribió:
>
> On 2023-06-10, Jose Caballero wrote:
> > Hi,
> > apologies if this is a silly question.
> >
> >
> > I am trying to write documentation for my plugins in the
>
El sáb, 10 jun 2023 a las 18:51, Gary Johnson ()
escribió:
> On 2023-06-10, Jose Caballero wrote:
> > Hi,
> > apologies if this is a silly question.
> >
> >
> > I am trying to write documentation for my plugins in the
> ~/.vim/ftplugin/foo/
> > directory.
> > This is what I have tried:
> >
> > 1)
On 2023-06-10, Jose Caballero wrote:
> Hi,
> apologies if this is a silly question.
>
>
> I am trying to write documentation for my plugins in the ~/.vim/ftplugin/foo/
> directory.
> This is what I have tried:
>
> 1) created ~/.vim/ftplugin/foo/doc/
> 2) created file
Hi,
apologies if this is a silly question.
I am trying to write documentation for my plugins in the
~/.vim/ftplugin/foo/ directory.
This is what I have tried:
1) created ~/.vim/ftplugin/foo/doc/
2) created file ~/.vim/ftplugin/foo/doc/testfoo.txt with content
*testfoo* this is a test
3)