Browse Source

Added css support to ctags

tags/v0.1.1
Micah Halter 1 year ago
parent
commit
9f5dbbb22f
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      ctags/.ctags

+ 11
- 0
ctags/.ctags View File

@@ -21,3 +21,14 @@
21 21
 --regex-bibtex=/@(article|book|booklet|inbook|incollection|inproceedings|manual|masterthesis|misc|phdthesis|proceedings|techreport|unpublished)\{([^,]+),/\2/e,BibTeX-Entries/i
22 22
 --regex-bibtex=/[[:space:]]*author[[:space:]]*=[[:space:]]*("([^"]+)"|\{([^\}]+)\})[[:space:]]*,?[[:space:]]*$/\2\3/a,BibTeX-Authors/i
23 23
 --regex-bibtex=/[[:space:]]*title[[:space:]]*=[[:space:]]*["\{](\{[:word:]+\}.+|.+)(["}][[:space:]]*,[[:space:]]*$|$)/\1/t,BibTeX-Titles/i
24
+
25
+--langdef=css
26
+--langmap=css:.css
27
+--langmap=css:+.scss
28
+--langmap=css:+.sass
29
+--langmap=css:+.styl
30
+--langmap=css:+.less
31
+--regex-css=/^[ \t]*\.([A-Za-z0-9_]+-[A-Za-z0-9_-]+)( |$)/.\1/c,class,classes/
32
+--regex-css=/^([\$@][A-Za-z0-9_-]+): /\1/v,variable,variables/
33
+--regex-css=/^([A-Za-z0-9_-]+) = /\1/v,variable,variables/
34
+--regex-css=/^[ \t]*(@mixin |= ?)([A-Za-z0-9_-]+)/\2/m,mixin,mixins/

Loading…
Cancel
Save