mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-11 16:00:02 -04:00
tests/indent: improve Rust tests
This commit is contained in:
parent
69dda8c09d
commit
1d7e5144ab
16 changed files with 217 additions and 13 deletions
7
lua/tests/indent/rust/comment.rs
Normal file
7
lua/tests/indent/rust/comment.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/// Function foo
|
||||
///
|
||||
/// Description of
|
||||
/// function foo.
|
||||
fn foo(x: i32, y: i32) -> i32 {
|
||||
x + y
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue