Commit graph

302 commits

Author SHA1 Message Date
ObserverOfTime
276627849b highlights(gleam): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
79705a1f80 highlights(cpp): use more specific groups 2022-11-26 13:17:51 +02:00
ObserverOfTime
54ca5ae2f0 highlights(gitattributes): fix captures 2022-11-26 13:17:51 +02:00
Raymond Ha
ef24c633f6 highlights(typescript): Fix as highlight 2022-11-25 00:34:25 +01:00
Munif Tanjim
63d7e456ea highlights(ecma): add pair_pattern punctuation.delimiter 2022-10-17 14:37:36 -07:00
Christian Clason
42ab95d5e1 feat!: remove obsolete TS* highlight groups 2022-10-16 15:50:55 +02:00
ObserverOfTime
0bfeb5484e test(gitattributes): add tests for highlights 2022-10-15 08:44:41 -07:00
Stephan Seitz
53742779e3 highlights(rust): distinguish between "for" in loops and impl_item
Fixes #3641
2022-10-15 04:02:20 -07:00
gbprod
3096e637c8 fix(php): add indent for enums 2022-10-10 23:01:22 +02:00
gbprod
84e23bd979 Fix php indent for short array declaration 2022-10-06 08:55:11 -04:00
Christian Clason
8e763332b7 fix(test): update tests to Nvim 0.8 2022-10-02 09:29:34 -04:00
Stephan Seitz
27cba73df9 indents(wgsl): add indents.scm 2022-09-28 19:25:07 -04:00
Stephan Seitz
d11d35fb61 highlights(hack): use @function.call/@method.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
f66a911a95 highlights(ecma): use @method.call/function.call 2022-09-11 04:16:06 -07:00
Stephan Seitz
c30f73aaa4 ci: add test for #3382 (wrong JS array indent) 2022-09-10 12:59:21 -07:00
Stephan Seitz
e60cdd0278 ci(indents): add known failure case for #3364 2022-08-30 08:02:42 +02:00
Stephan Seitz
d1ce3db8ea indents(go): no indent at all composite_literal, indent at struct_type 2022-08-15 13:34:16 -07:00
Stephan Seitz
ac5456567a indens(go): fix issue 3288
Fixes #3288
2022-08-15 13:34:16 -07:00
Zheng Piaodan
48d88ddbff fix(ruby): indent of brackets & parens 2022-08-13 03:40:17 -07:00
Zheng Piaodan
65a1817ba3 fix(ruby): indent parenthesized_statements 2022-08-13 03:40:17 -07:00
phynalle
d2815cb82f Enable expandtab 2022-08-08 14:07:30 -07:00
phynalle
5c7f9d2ddb Add zig tests for newline 2022-08-08 14:07:30 -07:00
Stephan Seitz
27424a2040 indents(go): improve @branch rules
- Don't branch at `case`
- Let `import_spec_list`/`var_declaration` behave like
  `const_declaration`

Fixes #2166
2022-08-05 12:32:20 -07:00
lfenzo
64f3f7415d (Broken test fixed) Updated static-namespace-functins.cpp to use function.call 2022-08-03 12:05:30 -07:00
Axel Dahlberg
0d7fab0c33
feat(ts_utils): allow starting selection after last character (#3233) 2022-07-29 17:35:29 +02:00
Kiyan
783c74cefc
chore: remove executable permissions on graphql spec file (#3206) 2022-07-22 10:14:48 +02:00
Kiyan
d7f06bfb13
fix(indents): indents for error block (css, lua) (#3207) 2022-07-21 13:48:03 +02:00
Eric Zheng (PiaoDan)
9587db3d07
fix: add more indentations for ruby (#3139) 2022-07-09 10:58:25 +02:00
kiyan
8bc4d046e7 fix(rust): remove if_let from indent captures
fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/3073
2022-07-08 00:27:51 +02:00
kiyan
6eb35103d0 fix(go): indent const declaration
https://github.com/nvim-treesitter/nvim-treesitter/issues/3104
2022-07-08 00:14:29 +02:00
Kiyan
6f3fbb2622
fix(ecma): indent end for bracket (#3121) 2022-07-07 14:35:12 +02:00
Duncan McDougall
901ffe1a36
Add support for custom parser install locations #2959 (#3031) 2022-06-20 22:50:07 +02:00
Phelipe Teles
589d18ab68 test(indents/yaml): add tests 2022-06-14 22:37:52 +02:00
Bruno BELANYI
fcba0368a6 fix(tiger): add 'ft' modeline in highlight corpus 2022-06-14 22:34:03 +02:00
Bruno BELANYI
b8e3b03748 fix(tiger): adjust invalid queries 2022-06-14 22:34:03 +02:00
Bruno BELANYI
6e3f888dc7 test(tiger): import upstream tests 2022-06-14 22:34:03 +02:00
przepompownia
910743c77a Don't expect any change on reindenting the whole unfinished-call.php 2022-05-15 14:52:43 +02:00
przepompownia
d4d77b315f unfinished-call.php: expect 0-column indentation 2022-05-15 14:52:43 +02:00
przepompownia
c43d2cec08 Remove unused XFAIL 2022-05-15 14:52:43 +02:00
przepompownia
afd74f4ccf Change test expectation 2022-05-15 14:52:43 +02:00
Santos Gallegos
f1373051e5
Python: highlight future import (#2936)
* Python: highlight future import

* Use constant.builtin
2022-05-13 21:46:06 +00:00
Stephan Seitz
a4f9539a0c highlights(cpp): make "::" @punctuation.delimiter
Fixes #2902
2022-05-07 13:30:36 +02:00
Santos Gallegos
132405f18f Python: highlight raise from statement 2022-05-01 10:06:13 +02:00
Christian Clason
bc25a6a5c4 chore!: remove ensure_installed='maintained'
Removes all support (and tests) for the parser category "maintained", as
this is no longer a useful category.

BREAKING CHANGE: replace `ensure_installed='maintained'` by an explicit
list of parsers, or use `'all'` (not recommended).
2022-04-30 11:42:46 +02:00
Michael Hoffmann
82e43748cf indent(hcl): fix function calls 2022-04-25 23:36:36 +02:00
Michael Hoffmann
b1e8b61a94 indents(hcl): fix indentation queries
This commit adds tests for hcl indentation and fixes various bugs
2022-04-24 18:57:30 +02:00
Akin Sowemimo
bca65c068b test(go): add cases for newlines de-indentation
test(go): combine new indent test cases

test(go): add incorrect indent after var closing )

this case does not work correctly already so add that in since this PR
does not address that case

test(go): set current lines in indent test

test(go): simplify test case
2022-04-18 14:11:02 +02:00
Jędrzej Boczar
717fef738b fix(indent/lua): wrong for nested tables due to branch on opening pairs 2022-04-06 21:28:11 +02:00
Stephan Seitz
bda4b35f76 indents(ecma): use auto indent on (ERROR)
Fixes #2515
2022-04-04 09:03:30 +02:00
Daniel Woznicki
f84a634ffd Changed quotes to appease stylua 2022-04-04 06:58:26 +02:00