nvim-treesitter/tests/indent
Christoph Sax 5ec4217567 fix(t32): update indent queries & test
The latest release of the grammar changes the handling of consecutive
line breaks. This breaks the existing test for indents.

This commit updates the indent queries and fixes the associated test.
2023-09-14 20:07:02 +02:00
..
algorithm add test 2023-04-08 09:56:06 -07:00
c fix(c)!: update C, CPP parsers and queries 2023-07-27 09:51:13 +02:00
capnp Update Capnp (#4713) 2023-05-07 00:12:49 +09:00
cpp indents: refactor hanging indent 2022-02-05 18:54:55 +01:00
css Combined closing.css and block.css test files into single open_block.css 2022-03-19 12:29:36 +01:00
dart ci: add tests for #4632 2023-05-05 14:57:51 +02:00
ecma indents(ecma): Fix switch default indent 2022-12-07 18:05:33 +01:00
gdscript feat(indent): Implement basic indent for gdscript. 2022-01-24 13:11:01 +01:00
gleam fix(gleam): minor indent fixes 2023-06-04 10:39:20 +09:00
go fix(go): Indent on type switch case properly 2023-03-03 23:36:51 -05:00
graphql tests: add indent test for graphql (#2459) 2022-02-05 19:11:14 +01:00
html fix(html): fix wrong indents for script/style tags 2023-01-03 17:50:44 +01:00
java feat: add indents for annotation defs (#4828) 2023-06-04 13:28:41 +09:00
jsx fix(jsx): add missing indent end mark to elements 2023-01-04 12:14:03 +01:00
lua fix(indents): indents for error block (css, lua) (#3207) 2022-07-21 13:48:03 +02:00
nickel fix(nickel): wrong indent on line after top level comment (#4792) 2023-05-13 15:03:05 +09:00
php fix(php): add indent for enums 2022-10-10 23:01:22 +02:00
python Add Python else elif dedent (#4618) 2023-04-29 10:35:35 +02:00
ql simplify tests 2023-01-31 12:23:13 +01:00
r indents(r): support special operator 2022-11-29 19:23:09 +01:00
ruby Update indent-square-brackets.rb 2023-01-09 22:17:50 +01:00
rust fix(rust): remove if_let from indent captures 2022-07-08 00:27:51 +02:00
smali chore(smali): add tests 2023-04-25 02:37:31 -04:00
sql indents(sql): initial support (#4857) 2023-05-25 05:53:14 +00:00
swift feat: add swift indents (#4756) 2023-05-08 14:53:31 +09:00
t32 fix(t32): update indent queries & test 2023-09-14 20:07:02 +02:00
terraform feat(hcl,terraform): split terraform from hcl, add specialized queries for tf 2022-12-29 22:18:41 +01:00
tiger test(tiger): import upstream tests 2022-06-14 22:34:03 +02:00
usd Added USD as a language + some queries 2023-05-15 09:28:11 +02:00
vue indents(vue): fix indents on new line after <template> 2023-03-06 02:32:45 -05:00
wgsl indents(wgsl): add indents.scm 2022-09-28 19:25:07 -04:00
yaml test(indents/yaml): add tests 2022-06-14 22:37:52 +02:00
yang Add YANG indentation tests 2023-02-24 16:39:33 -05:00
zig Add zig tests for newline 2022-08-08 14:07:30 -07:00
algorithm_spec.lua add test 2023-04-08 09:56:06 -07:00
c_spec.lua fix(c_indents): fix expression leaking indents 2023-04-08 09:59:21 -07:00
capnp_spec.lua Update Capnp (#4713) 2023-05-07 00:12:49 +09:00
common.lua tests(indent): also test creating new line when still in insert mode 2022-02-06 19:42:57 +01:00
cpp_spec.lua fix(indents): re-parse before each indent 2022-02-05 18:54:55 +01:00
css_spec.lua fix(indents): indents for error block (css, lua) (#3207) 2022-07-21 13:48:03 +02:00
dart_spec.lua ci: add tests for #4632 2023-05-05 14:57:51 +02:00
gdscript_spec.lua feat(indent): Implement basic indent for gdscript. 2022-01-24 13:11:01 +01:00
gleam_spec.lua fix(gleam): minor indent fixes 2023-06-04 10:39:20 +09:00
go_spec.lua fix(go): indent const declaration 2022-07-08 00:14:29 +02:00
graphql_spec.lua chore: remove executable permissions on graphql spec file (#3206) 2022-07-22 10:14:48 +02:00
html_spec.lua fix(html): fix wrong indents for script/style tags 2023-01-03 17:50:44 +01:00
java_spec.lua feat: add indents for annotation defs (#4828) 2023-06-04 13:28:41 +09:00
javascript_spec.lua ci: add test for #3382 (wrong JS array indent) 2022-09-10 12:59:21 -07:00
jsx_spec.lua fix(jsx): add missing indent end mark to elements 2023-01-04 12:14:03 +01:00
lua_spec.lua fix(indents): indents for error block (css, lua) (#3207) 2022-07-21 13:48:03 +02:00
nickel_spec.lua fix(nickel): wrong indent on line after top level comment (#4792) 2023-05-13 15:03:05 +09:00
php_spec.lua docs: fix typos 2023-02-23 11:39:43 -08:00
python_spec.lua Add Python else elif dedent (#4618) 2023-04-29 10:35:35 +02:00
ql_spec.lua simplify tests 2023-01-31 12:23:13 +01:00
r_spec.lua indents(r): support special operator 2022-11-29 19:23:09 +01:00
ruby_spec.lua Add tests correctly for ruby rescue/ensure indentation 2023-01-06 19:48:42 +01:00
rust_spec.lua fix(rust): remove if_let from indent captures 2022-07-08 00:27:51 +02:00
smali_spec.lua chore(smali): add tests 2023-04-25 02:37:31 -04:00
sql_spec.lua indents(sql): initial support (#4857) 2023-05-25 05:53:14 +00:00
swift_spec.lua feat: add swift indents (#4756) 2023-05-08 14:53:31 +09:00
t32_spec.lua fix(t32): update indent queries & test 2023-09-14 20:07:02 +02:00
terraform_spec.lua feat(hcl,terraform): split terraform from hcl, add specialized queries for tf 2022-12-29 22:18:41 +01:00
tiger_spec.lua tests: fix failed tests (#4901) 2023-06-05 09:52:36 +09:00
usd_spec.lua Added USD as a language + some queries 2023-05-15 09:28:11 +02:00
vue_spec.lua indents(vue): fix indents on new line after <template> 2023-03-06 02:32:45 -05:00
wgsl_spec.lua tests: fix failed tests (#4901) 2023-06-05 09:52:36 +09:00
yaml_spec.lua test(indents/yaml): add tests 2022-06-14 22:37:52 +02:00
yang_spec.lua Fix broken YANG indent tests 2023-02-24 16:39:33 -05:00
zig_spec.lua Enable expandtab 2022-08-08 14:07:30 -07:00