Christian Clason
2cc172c28e
test(indent): we have scan_dir at home
2026-03-17 09:47:15 +01:00
Christian Clason
c9fea86a5a
test(indent): drop plenary.path
2026-03-16 22:51:41 +01:00
Ilya Ilyinykh
0f5b204603
fix(typst): indentation for block and branch
2026-02-25 18:35:46 +01:00
Sten Laane
4337799162
feat(bash): add indents query
...
It's pretty basic at the moment but already makes working with bash
scripts way easier.
2026-01-03 11:29:39 +01:00
osthomas
fee71c102c
feat(snakemake): update queries ( #8106 )
...
also add indent tests
2025-09-07 13:58:28 +02:00
Christian Clason
afaf01ebd3
tests(angular): don' reset filetype
...
`htmlangular` filetype support is now included in Nvim, so don't set
the filetype.
2025-05-12 18:43:40 +02:00
Christian Clason
75ee7ff2f0
tests(gleam): fix assert tests that no longer parse correctly
2025-05-12 18:43:40 +02:00
Christian Clason
054080bf59
fix: vim.tbl_flatten is deprecated
2025-05-12 18:43:40 +02:00
Pham Huy Hoang
673fdccd21
tests: remove set ft
2025-05-12 18:43:40 +02:00
Christian Clason
9c0a99819c
ci: remove update-lockfile shell script
2025-05-12 18:43:40 +02:00
Christian Clason
692b051b09
feat!: drop modules, general refactor and cleanup
2025-05-12 18:43:40 +02:00
ganhaque
ea3a37a975
fix(wgsl): indent call expression params ( #7309 )
2024-11-06 10:09:14 -08:00
Riley Bruins
0d3426a2e8
fix(wgsl): indent first parameter of function definition
2024-11-06 09:24:39 +01:00
Abhishek Singh
604aa5a7c8
feat(nu): add parser and queries ( #7267 )
2024-11-05 15:25:42 +01:00
Riley Bruins
8fadb18430
feat: sway programming language
2024-11-04 08:36:41 +01:00
Caleb White
ec8776ed9e
feat(php): php 8.4 support ( #6741 )
...
* chore(php): update maintainers
* feat(php): update php rules, highlight imported functions/consts
* feat(php): indent inside property hooks
* chore: update php and php_only revision
2024-08-18 12:30:04 +02:00
Riley Bruins
558c7ad7bf
fix(lua): proper indent after multiline string arg
2024-08-05 10:07:41 +02:00
Riley Bruins
09bad640e4
fix(query): proper indentation after quantifiers
2024-08-02 22:45:14 +09:00
Oliver Thomas
65310b64ee
fix: prevent double indent from pipes
2024-07-31 11:23:46 +02:00
Riley Bruins
f97e0de005
feat: add rescript parser and queries ( #6671 )
2024-07-27 17:34:30 +02:00
Christian Clason
f649c2ff75
fix(php): correct line endings
2024-07-17 15:45:25 +02:00
Dennis van den Berg
0d5e1214a5
feat: add indentation queries for angular
2024-07-17 09:52:47 +09:00
Riley Bruins
4836c1df65
fix(lua): indent functions before they are closed
...
Fixes #6786
2024-07-16 13:17:36 +02:00
Grace Petryk
f16a775830
feat(python): Improved python indentation ( #6859 )
...
* feat: improve python indentation
* use lua-match
* revert concatenated_string changes, handle function def hanging indents
* lint
* add delimiters to param query
* add test cases
2024-07-16 20:13:41 +09:00
再生花
53c79ddc28
fix(php): do not indent after class/enum decl
2024-07-09 10:12:29 +09:00
Riley Bruins
55a13862cd
feat(nix): indentation queries
2024-07-05 15:13:25 +02:00
Riley Bruins
fa611f612a
fix(ecma): indent single-line if statements ( #6846 )
...
Fixes #5898 .
2024-07-04 11:13:16 +09:00
Phạm Huy Hoàng
3e535e826d
fix(r): adapt indent queries
...
- Anchor parameter query. There's no need for multiple indent.align
captures
- Narrow down binary_operator indent.begin. From tree-sitter-r corpus
and highlight tests, this seems to be appropriate.
2024-06-28 18:13:12 +02:00
Christian Clason
5373c90c55
feat(r)!: update parser and queries
2024-06-27 15:31:41 +02:00
Christian Clason
3d268f9db4
fix: adapt to Nvim 0.11 deprecations
2024-05-17 17:16:44 +02:00
ganhaque
1b050206e4
fix(rust): indentation in multi-line tuple pattern ( #6402 )
...
* fix(rust): indentation in multi-line tuple pattern
* test(indent): rust - add test for tuple pattern indent
2024-04-04 15:12:31 +00:00
Caleb White
143ca5ce17
feat(php): improve indents in return statements & chained methods
2024-03-16 20:50:13 -04:00
Luckas
904f373fc4
feat(dot): add indents queries
...
* feat(dot): add indents queries
* add: tests
* fix: test
2024-03-15 09:18:33 +09:00
再生花
e73c775aa9
feat(swift): add init/deinit indents
...
Signed-off-by: Phạm Huy Hoàng <hoangtun0810@gmail.com>
2024-03-13 11:09:42 +08:00
Phạm Huy Hoàng
63ca90eaa3
feat(swift): add will/didSet indent
...
Fixes CI error in PR.6237
2024-03-04 00:05:45 +09:00
Riley Bruins
455f6586ba
feat(query): indents that reflect the formatter ( #6154 )
...
* feat(query): indents that reflect the formatter
Indentation queries that reflect the query formatter. Only applicable if `lispoptions=expr:1`
2024-02-21 18:47:09 +09:00
Riley Bruins
d96bf9d522
fix(python): better try-except indentation ( #6097 )
2024-02-15 00:39:59 +07:00
Phạm Huy Hoàng
1c72e797ba
fix(yuck): comment out start-of-line parens
2024-02-13 17:58:36 +01:00
Jędrzej Boczar
6548bb64c1
feat(meson): add indents.scm
2024-01-20 10:48:56 +01:00
Jędrzej Boczar
d496c5e08e
fix(cpp): incorrect indent of class with opening { on new line ( #5811 )
2023-12-22 05:49:13 +09:00
Ronan Arraes Jardim Chagas
d2fe87062d
Add more tests for assignments
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
a741b5dd0d
Improve curly expression alignment
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
3d6c0af936
Fix tests
2023-10-29 01:37:31 +02:00
Ronan Arraes Jardim Chagas
fc3bfd8f89
Add initial tests for Julia language indentation
2023-10-29 01:37:31 +02:00
Carlos Afonso
bf87a16712
fix(php): fix indentation for in between braces
2023-10-15 14:34:32 -04:00
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
Christoph Sax
536c8a3880
feat(t32): re-enable tests
...
- Switch to GitLab mirror repository
- Lock grammar version 2.2.0
- Revert "fix(tests): mark t32 as allowed to fail"
This reverts commit ba223ceecc .
- Revert "fix(tests): remove t32 tests"
This reverts commit 97957a547b .
2023-07-30 19:29:33 +02:00
Christian Clason
97957a547b
fix(tests): remove t32 tests
...
t32 parser is hosted on Codeberg, which has frequent outages that block
unrelated CI. Revert this commit if and when uptime has improved.
2023-07-29 10:56:17 +02:00
Amaan Qureshi
ad3805f5c3
fix(c)!: update C, CPP parsers and queries
...
also update derived parsers (arduino, cuda, glsl, hlsl, ispc, objc)
2023-07-27 09:51:13 +02:00
Pham Huy Hoang
9ec2a6bbda
tests: fix failed tests ( #4901 )
...
fix failed tests for tiger, t32 and wgsl
2023-06-05 09:52:36 +09:00