From 607b426e269b17f4ad32dca9c612c4a9f8541766 Mon Sep 17 00:00:00 2001 From: Gammut Date: Sun, 9 Jul 2023 11:35:32 -0500 Subject: Refactor queries for ecma based languages (#7207) --- runtime/queries/tsx/highlights.scm | 4 +++- runtime/queries/tsx/indents.scm | 4 +++- runtime/queries/tsx/injections.scm | 4 +++- runtime/queries/tsx/locals.scm | 3 +++ runtime/queries/tsx/tags.scm | 3 +++ runtime/queries/tsx/textobjects.scm | 4 +++- 6 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 runtime/queries/tsx/locals.scm create mode 100644 runtime/queries/tsx/tags.scm (limited to 'runtime/queries/tsx') diff --git a/runtime/queries/tsx/highlights.scm b/runtime/queries/tsx/highlights.scm index 100c7cc7..721c56c7 100644 --- a/runtime/queries/tsx/highlights.scm +++ b/runtime/queries/tsx/highlights.scm @@ -1 +1,3 @@ -; inherits: jsx,typescript +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma diff --git a/runtime/queries/tsx/indents.scm b/runtime/queries/tsx/indents.scm index 07391231..721c56c7 100644 --- a/runtime/queries/tsx/indents.scm +++ b/runtime/queries/tsx/indents.scm @@ -1 +1,3 @@ -; inherits: typescript,jsx +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma diff --git a/runtime/queries/tsx/injections.scm b/runtime/queries/tsx/injections.scm index 1b61e36d..721c56c7 100644 --- a/runtime/queries/tsx/injections.scm +++ b/runtime/queries/tsx/injections.scm @@ -1 +1,3 @@ -; inherits: typescript +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma diff --git a/runtime/queries/tsx/locals.scm b/runtime/queries/tsx/locals.scm new file mode 100644 index 00000000..721c56c7 --- /dev/null +++ b/runtime/queries/tsx/locals.scm @@ -0,0 +1,3 @@ +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma diff --git a/runtime/queries/tsx/tags.scm b/runtime/queries/tsx/tags.scm new file mode 100644 index 00000000..721c56c7 --- /dev/null +++ b/runtime/queries/tsx/tags.scm @@ -0,0 +1,3 @@ +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma diff --git a/runtime/queries/tsx/textobjects.scm b/runtime/queries/tsx/textobjects.scm index 07391231..721c56c7 100644 --- a/runtime/queries/tsx/textobjects.scm +++ b/runtime/queries/tsx/textobjects.scm @@ -1 +1,3 @@ -; inherits: typescript,jsx +; See runtime/queries/ecma/README.md for more info. + +; inherits: _jsx,_typescript,ecma -- cgit v1.2.3-70-g09d2