[Github-comments] [geany/geany] Add support for Kotlin tags (PR #3034)
Jiří Techet
notifications at xxxxx
Sun Dec 5 21:37:40 UTC 2021
@techee commented on this pull request.
> @@ -13,12 +13,18 @@
dstdir = os.path.abspath(sys.argv[2])
os.chdir(dstdir + '/parsers')
-parser_dst_files = glob.glob('*.c') + glob.glob('*.h')
+parser_dst_files = glob.glob('**/*.c') + glob.glob('**/*.h')
Maybe I would slightly prefer mirroring the ctags directory structure - i.e. having peg outside the parsers directory. That would mean explicitly mentioning `peg` and `parsers` directories in the globs and in the code below eliminating the
```
if os.path.exists('parsers/' + f):
shutil.copy('parsers/' + f, dstdir + '/parsers/' + f)
```
part.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3034#pullrequestreview-823436102
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211205/66862fd3/attachment.htm>
More information about the Github-comments
mailing list