From 73d5bd739ebb6e6831e66a28f4d9e860f769c83c Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Thu, 25 Aug 2022 18:19:39 -0500 Subject: [PATCH] Delete invalid indents.scm queries --- book/src/generated/lang-support.md | 10 +++++----- runtime/queries/devicetree/indents.scm | 12 ------------ runtime/queries/gdscript/indents.scm | 26 -------------------------- runtime/queries/hare/indents.scm | 21 --------------------- runtime/queries/nix/indents.scm | 25 ------------------------- runtime/queries/svelte/indents.scm | 19 ------------------- 6 files changed, 5 insertions(+), 108 deletions(-) delete mode 100644 runtime/queries/devicetree/indents.scm delete mode 100644 runtime/queries/gdscript/indents.scm delete mode 100644 runtime/queries/hare/indents.scm delete mode 100644 runtime/queries/nix/indents.scm delete mode 100644 runtime/queries/svelte/indents.scm diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 9a1d5b924..467e4c5e5 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -14,7 +14,7 @@ | css | ✓ | | | `vscode-css-language-server` | | cue | ✓ | | | `cuelsp` | | dart | ✓ | | ✓ | `dart` | -| devicetree | ✓ | | ✓ | | +| devicetree | ✓ | | | | | dockerfile | ✓ | | | `docker-langserver` | | dot | ✓ | | | `dot-language-server` | | edoc | ✓ | | | | @@ -28,7 +28,7 @@ | esdl | ✓ | | | | | fish | ✓ | ✓ | ✓ | | | fortran | ✓ | | ✓ | `fortls` | -| gdscript | ✓ | | ✓ | | +| gdscript | ✓ | | | | | git-attributes | ✓ | | | | | git-commit | ✓ | | | | | git-config | ✓ | | | | @@ -42,7 +42,7 @@ | gotmpl | ✓ | | | `gopls` | | gowork | ✓ | | | `gopls` | | graphql | ✓ | | | | -| hare | ✓ | | ✓ | | +| hare | ✓ | | | | | haskell | ✓ | | | `haskell-language-server-wrapper` | | hcl | ✓ | | ✓ | `terraform-ls` | | heex | ✓ | ✓ | | | @@ -69,7 +69,7 @@ | meson | ✓ | | ✓ | | | mint | | | | `mint` | | nickel | ✓ | | ✓ | `nls` | -| nix | ✓ | | ✓ | `rnix-lsp` | +| nix | ✓ | | | `rnix-lsp` | | nu | ✓ | | | | | ocaml | ✓ | | ✓ | `ocamllsp` | | ocaml-interface | ✓ | | | `ocamllsp` | @@ -99,7 +99,7 @@ | sql | ✓ | | | | | sshclientconfig | ✓ | | | | | starlark | ✓ | ✓ | | | -| svelte | ✓ | | ✓ | `svelteserver` | +| svelte | ✓ | | | `svelteserver` | | swift | ✓ | | | `sourcekit-lsp` | | tablegen | ✓ | ✓ | ✓ | | | task | ✓ | | | | diff --git a/runtime/queries/devicetree/indents.scm b/runtime/queries/devicetree/indents.scm deleted file mode 100644 index 064908890..000000000 --- a/runtime/queries/devicetree/indents.scm +++ /dev/null @@ -1,12 +0,0 @@ -[ - (node) - (byte_string_literal) - (parenthesized_expression) - (argument_list) -] @indent - -[ - "}" - "]" - ")" -] @outdent \ No newline at end of file diff --git a/runtime/queries/gdscript/indents.scm b/runtime/queries/gdscript/indents.scm deleted file mode 100644 index 01439e1c6..000000000 --- a/runtime/queries/gdscript/indents.scm +++ /dev/null @@ -1,26 +0,0 @@ -[ - (_compound_statement) - (match_statement) - (parenthesized_expression) - - (pattern_array) - (pattern_dictionary) - (argument_list) - (binary_operator) - - (parameters) - (body) - (enumerator_list) - - (function_definition) - (constructor_definition) - (class_definition) -] @indent - -[ - ")", - "]", - "}", - (return_statement) - (pass_statement) -] @outdent diff --git a/runtime/queries/hare/indents.scm b/runtime/queries/hare/indents.scm deleted file mode 100644 index a2e83c000..000000000 --- a/runtime/queries/hare/indents.scm +++ /dev/null @@ -1,21 +0,0 @@ -[ - (struct_union_fields) - (expression_list) -] @indent - -[ - "case" - "}" - "]" - ")" -] @outdent - -; [ -; "{" -; "}" -; ] @branch - -; [ -; (comment) -; ] @ignore - diff --git a/runtime/queries/nix/indents.scm b/runtime/queries/nix/indents.scm deleted file mode 100644 index a12376e7d..000000000 --- a/runtime/queries/nix/indents.scm +++ /dev/null @@ -1,25 +0,0 @@ - -[ - ; Bracket like - (let) - (attrset) - (rec_attrset) - (let_attrset) - (parenthesized) - (list) - - ; Binding - (bind) - (inherit) - (inherit_from) - (formal) - - ; Binary operations - (binary) - (has_attr) - (select) - (app) - - ; Conditional - (if) -] @indent \ No newline at end of file diff --git a/runtime/queries/svelte/indents.scm b/runtime/queries/svelte/indents.scm deleted file mode 100644 index 99720bac7..000000000 --- a/runtime/queries/svelte/indents.scm +++ /dev/null @@ -1,19 +0,0 @@ -; inherits: ecma - -[ - (element) - (if_statement) - (each_statement) - (await_statement) -] @indent - -[ - (end_tag) - (else_statement) - (if_end_expr) - (each_end_expr) - (await_end_expr) - ">" - "/>" -] @outdent -