Saturday, June 10, 2023

documenting my own plugins?

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) :helptags ~/.vim/ftplugin/foo/
4) But when I try 

:help testfoo 

it doesn't work.

What am I missing?


Thanks a lot in advance. Any tip is more than welcome.
Cheers,
Jose

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CACUP1u_qG1iDAAnJn-7n2g0XUOUr4JnE%3DzBZa84aoLYHZOOxiQ%40mail.gmail.com.

No comments: