Skip to content

Instantly share code, notes, and snippets.

View bbrtj's full-sized avatar
🐪

Bartosz Jarzyna bbrtj

🐪
View GitHub Profile
@bbrtj
bbrtj / .gutctags
Last active December 12, 2022 17:37 — forked from sgur/.ctags
Free pascal / Object pascal Universal ctags config
--regex-pascal=/^\s*(\w+)\s*=\s*\(\s*\w\s*\)/\1/t,Type/
--regex-pascal=/^\s*(\w+)\s*=\s*class/\1/c,Class/
--regex-pascal=/^constructor\s+(T[a-zA-Z0-9_]+(<[a-zA-Z0-9_, ]+>)?\.)([a-zA-Z0-9_<>, ]+)(.*)+/\1\3/n,Constructor/
--regex-pascal=/^destructor\s+(T[a-zA-Z0-9_]+(<[a-zA-Z0-9_, ]+>)?\.)([a-zA-Z0-9_<>, ]+)(.*)+/\1\3/d,Destructor/
--regex-pascal=/^(procedure|function)\s+T[a-zA-Z0-9_<>, ]+\.([a-zA-Z0-9_<>, ]+)(.*)/\2/m,Method/