From: Ben Beltran Date: Tue, 18 Feb 2020 22:43:15 +0000 (+0100) Subject: Add universal ctags config X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/commitdiff_plain/7fd50ecb4c97eeba1abe87bcc8ca1e32b133c281?hp=-c Add universal ctags config --- 7fd50ecb4c97eeba1abe87bcc8ca1e32b133c281 diff --git a/ctags.d/defaults.ctags b/ctags.d/defaults.ctags new file mode 100644 index 0000000..0d76d48 --- /dev/null +++ b/ctags.d/defaults.ctags @@ -0,0 +1,3 @@ +-R +--exclude=node_modules +--exclude=README.md diff --git a/ctags.d/javascript.ctags b/ctags.d/javascript.ctags new file mode 100644 index 0000000..26e36c8 --- /dev/null +++ b/ctags.d/javascript.ctags @@ -0,0 +1,2 @@ +--exclude=package*.json +--exclude=dist diff --git a/ctags.d/svelte.ctags b/ctags.d/svelte.ctags new file mode 100644 index 0000000..13198ac --- /dev/null +++ b/ctags.d/svelte.ctags @@ -0,0 +1,9 @@ +--extras=+g +--langdef=csssimple +--regex-csssimple=/^[ \t]*([A-Za-z]*)\.([A-Za-z0-9_]+[A-Za-z0-9_-]+)/\2/c,class,classes/ +--langdef=svelte +--map-svelte=.svelte +--_tabledef-svelte=svelte +--_mtable-regex-svelte=svelte/(^