|
| 1 | +{ |
| 2 | + "$schema": "https://raw.githubusercontent.com/ribru17/ts_query_ls/refs/heads/master/schemas/config.json", |
| 3 | + "parser_install_directories": ["./grammars"], |
| 4 | + "language_retrieval_patterns": ["languages/([^/]+)/[^/]+\\.scm"], |
| 5 | + "parser_aliases": { |
| 6 | + "erb": "embedded_template", |
| 7 | + "html-erb": "embedded_template", |
| 8 | + "js-erb": "embedded_template", |
| 9 | + "yaml-erb": "embedded_template" |
| 10 | + }, |
| 11 | + "valid_captures": { |
| 12 | + "highlights": { |
| 13 | + "attribute": "An attribute", |
| 14 | + "boolean": "A boolean value", |
| 15 | + "comment": "A comment", |
| 16 | + "comment.doc": "A documentation comment", |
| 17 | + "constant": "A constant", |
| 18 | + "constant.builtin": "A built-in constant", |
| 19 | + "constructor": "A constructor", |
| 20 | + "embedded": "Embedded content", |
| 21 | + "emphasis": "Emphasized text", |
| 22 | + "emphasis.strong": "Strongly emphasized text", |
| 23 | + "enum": "An enumeration", |
| 24 | + "function": "A function", |
| 25 | + "function.builtin": "A built-in function", |
| 26 | + "function.method": "A method", |
| 27 | + "function.method.builtin": "A built-in method", |
| 28 | + "hint": "A hint", |
| 29 | + "keyword": "A keyword", |
| 30 | + "keyword.exception": "A keyword for exception handling", |
| 31 | + "keyword.import": "An import keyword", |
| 32 | + "label": "A label", |
| 33 | + "link_text": "Link text", |
| 34 | + "link_uri": "A link URI", |
| 35 | + "number": "A numeric value", |
| 36 | + "operator": "An operator", |
| 37 | + "predictive": "Predictive text", |
| 38 | + "preproc": "A preprocessor directive", |
| 39 | + "primary": "A primary element", |
| 40 | + "property": "A property", |
| 41 | + "punctuation": "Punctuation", |
| 42 | + "punctuation.bracket": "A bracket", |
| 43 | + "punctuation.delimiter": "A delimiter", |
| 44 | + "punctuation.list_marker": "A list marker", |
| 45 | + "punctuation.special": "Special punctuation", |
| 46 | + "string": "A string literal", |
| 47 | + "string.escape": "An escaped character in a string", |
| 48 | + "string.regex": "A regular expression", |
| 49 | + "string.special": "A special string", |
| 50 | + "string.special.symbol": "A special symbol", |
| 51 | + "tag": "A tag", |
| 52 | + "tag.doctype": "A doctype (e.g., in HTML)", |
| 53 | + "text.literal": "Literal text", |
| 54 | + "title": "A title", |
| 55 | + "type": "A type", |
| 56 | + "type.super": "A superclass type", |
| 57 | + "variable": "A variable", |
| 58 | + "variable.parameter": "A function or method parameter", |
| 59 | + "variable.special": "A special variable", |
| 60 | + "variant": "A variant" |
| 61 | + }, |
| 62 | + "runnables": { |
| 63 | + "name": "Captures the \"scripts\" key", |
| 64 | + "run": "Captures the script name", |
| 65 | + "script": "Also captures the script name (for different purposes)", |
| 66 | + "RUBY_TEST_NAME": "A ruby test name", |
| 67 | + "_ruby-test": "A ruby test name" |
| 68 | + } |
| 69 | + } |
| 70 | +} |
0 commit comments