Skip to content

Commit

Permalink
update ctags for type constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
vmchale committed May 14, 2024
1 parent 682847f commit 0e800aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .ctags
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@
--langmap=DICKINSON:.dck
--regex-DICKINSON=/:def *([[:lower:]][[:alnum:]]+)/\1/f,function/
--regex-DICKINSON=/tydecl *([[:lower:]][[:alnum:]]+) *=/\1/t,type/
--regex-DICKINSON=/= *([[:upper:]][[:alnum:]_]+)/\1/t,type/
--regex-DICKINSON=/\| *([[:upper:]][[:alnum:]_]+)/\1/t,type/
2 changes: 2 additions & 0 deletions man/MANPAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ To configure exuberant ctags or universal ctags, put
--langmap=DICKINSON:.dck
--regex-DICKINSON=/:def *([[:lower:]][[:alnum:]]+)/\1/f,function/
--regex-DICKINSON=/tydecl *([[:lower:]][[:alnum:]]+) *=/\1/t,type/
--regex-DICKINSON=/= *([[:upper:]][[:alnum:]_]+)/\1/t,type/
--regex-DICKINSON=/\| *([[:upper:]][[:alnum:]_]+)/\1/t,type/

in the project .ctags

Expand Down
4 changes: 3 additions & 1 deletion man/emd.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.\" Automatically generated by Pandoc 3.1.11
.\" Automatically generated by Pandoc 3.2
.\"
.TH "emd (1)" "" "" "" ""
.SH NAME
Expand Down Expand Up @@ -75,6 +75,8 @@ To configure exuberant ctags or universal ctags, put
\-\-langmap=DICKINSON:.dck
\-\-regex\-DICKINSON=/:def *([[:lower:]][[:alnum:]]+)/\[rs]1/f,function/
\-\-regex\-DICKINSON=/tydecl *([[:lower:]][[:alnum:]]+) *=/\[rs]1/t,type/
\-\-regex\-DICKINSON=/= *([[:upper:]][[:alnum:]_]+)/\[rs]1/t,type/
\-\-regex\-DICKINSON=/\[rs]| *([[:upper:]][[:alnum:]_]+)/\[rs]1/t,type/
.EE
.PP
in the project .ctags
Expand Down

0 comments on commit 0e800aa

Please sign in to comment.