Re: documenting my own plugins?

2023-06-13 Thread Jose Caballero
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

Re: documenting my own plugins?

2023-06-12 Thread Bram Moolenaar
> 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

Re: documenting my own plugins?

2023-06-12 Thread Gary Johnson
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'

Re: documenting my own plugins?

2023-06-12 Thread Jose Caballero
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: > > >

Re: documenting my own plugins?

2023-06-11 Thread Jose Caballero
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

Re: documenting my own plugins?

2023-06-11 Thread Gary Johnson
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 >

Re: documenting my own plugins?

2023-06-10 Thread Jose Caballero
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)

Re: documenting my own plugins?

2023-06-10 Thread Gary Johnson
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

documenting my own plugins?

2023-06-10 Thread Jose Caballero
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)