tomtom / tlib_vim

Some utility functions for VIM
http://www.vim.org/scripts/script.php?script_id=1863
GNU General Public License v3.0
173 stars 43 forks source link

Remove duplicate tag in documentation #29

Closed mcepl closed 5 years ago

mcepl commented 5 years ago

Breaks :helptags ~/.vim/pack.

tomtom commented 5 years ago

This would break the generation of the help file. We have to find another solution. Can't you exclude files from :helptags somehow?

mcepl commented 5 years ago

This would break the generation of the help file. We have to find another solution. Can't you exclude files from :helptags somehow?

What? You are using wrong tagname (this is NOT tlib.txt file) and it would break something? Works perfectly fine for me.

tomtom commented 5 years ago

What? You are using wrong tagname (this is NOT |tlib.txt| file) and it would break something? Works perfectly fine for me.

It works fine for you because you don't try to regenerate the doc file, which is computer generated and not to be edited by hand.

mcepl commented 5 years ago

It works fine for you because you don't try to regenerate the doc file, which is computer generated and not to be edited by hand.

Well, then it is generated poorly (really, computer generated 937 bytes long file?, WTH?), because when I run `:helptagspwd```, I always get:

E154: Duplicate tag "tlib.txt" in file /home/matej/.vim/pack/modules/start/tlib_vim//etc/tpl_tlib.txt
tomtom commented 5 years ago

Well, then it is generated poorly (really, computer generated 937 bytes long file?, WTH?), because when I run `:helptagspwd```, I always get:

|E154: Duplicate tag "tlib.txt" in file /home/matej/.vim/pack/modules/start/tlib_vim//etc/tpl_tlib.txt | I don't think you should helptag any file under pwd. You cannot assume that any *.txt file is a vim help file. Maybe you don't know how to use that command. :h helptags tells you, you should use :helptags ALL.

BTW tlib already comes with a tags file. There is no need to run helptags for tlib.

mcepl commented 5 years ago

OK, so you have useless file that would break perfectly ordinary operation, but you will cover up this whimsical bug so that in your exact workflow it doesn’t break, and so everybody else is screwed up. It is a pity UltiSnip is even more broken, so I cannot get rid of your plugin so easily. I will make some workaround and I will try not to think about it.