Open AndyMcAliley opened 8 months ago
I added a commit to check if the language is recognized by ctags, and only include the first --option
directive for custom languages, which is better. I added another commit to only call ctags --list-languages
once.
Fixes #789
This PR adds a second duplicate
--option
directive to thectags
command, usingdeffile
twice. The first--option
comes prior to--language-force
and lets ctags know the custom language. The second--option
comes last to override the default--kinds-<lang>
definition.This PR addresses the same problem that #792 addresses, but in a different way that doesn't require additional user options.
This fix needs testing, especially on the use case described in #776.