commit c5cd3414c21b6e4fbd0c7edfe47fc9eeae47fde0
parent 266e70efdf273d85ee5eca74ec8f46e4955d7403
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 5 Jun 2019 17:15:23 +0200
ctags: also use .md for markdown
Former-commit-id: c91f4e33f3bf8671119a2355596c2aeb74ad02cc
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/ctags/ctags b/ctags/ctags
@@ -13,6 +13,7 @@
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/
--langdef=markdown
--langmap=markdown:.mkd
+--langmap=markdown:+.md
--regex-markdown=/^#[ \t]+(.*)/\1/h,Heading_L1/
--regex-markdown=/^##[ \t]+(.*)/\1/i,Heading_L2/
--regex-markdown=/^###[ \t]+(.*)/\1/k,Heading_L3/