Skip to content

Instantly share code, notes, and snippets.

@evanharmon
Last active July 13, 2016 13:48
Show Gist options
  • Select an option

  • Save evanharmon/c71f3c8c7b90d02e12b86b4bf0c8b0d6 to your computer and use it in GitHub Desktop.

Select an option

Save evanharmon/c71f3c8c7b90d02e12b86b4bf0c8b0d6 to your computer and use it in GitHub Desktop.
My ctags config file
--recurse=yes
--exclude=.git
--exclude=**/dist/*
--exclude=**/node_modules/*
--exclude=db/*
--exclude=log/*
--exclude=coverage/*
--langdef=css
--langmap=css:.css
--langmap=css:+.scss
--langmap=css:+.sass
--langmap=css:+.styl
--langmap=css:+.less
--regex-css=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
--regex-css=/^[ \t]*#([A-Za-z0-9_-]+)/#\1/i,id,ids/
--regex-css=/^[ \t]*\.([A-Za-z0-9_-]+)/.\1/c,class,classes/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment