mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-12 00:10:04 -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
8
lua/tests/indent/rust/mod.rs
Normal file
8
lua/tests/indent/rust/mod.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
mod foo {
|
||||
const X: i32 = 1;
|
||||
|
||||
mod bar {
|
||||
|
||||
const Y: i32 = 1;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue