universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

passing new options to universal-ctags through citre-create-tags-file #119

Closed Pierre-Andre closed 2 years ago

Pierre-Andre commented 2 years ago

when using citre-create-tags-file we are taken to a command editing buffer and the line --languages=C,C++ ;; programming languages to be scanned leads to change in the following way

--languages=EmacsLisp,Org ;; programming languages to be scanned
--exclude=*.*
--exclude-exception=*.org

but it has to be

--languages=EmacsLisp,Org
--exclude=*.*
--exclude-exception=*.org

without the comment (otherwise adding options in the next two lines does not work…)

AmaiKinono commented 2 years ago

Thanks, it's a problem introduced in https://github.com/universal-ctags/citre/commit/a3e58aad69ffd43a7511f34c1606d1d27772bb57.

In the help message I wrote:

- Lines start with ;; are ignored

But ;; actually doesn't start a comment at the middle of a line. Now the command template is rearranged as

;; programming languages to be scanned
--languages=C,C++

so it should work now.