blob: 374e3db6defc7fb6f38bcca5e70a88313b50f03c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
local whole_file = require('nvim-treesitter.test_utils').indent_whole_file
describe('indent rust', function()
local files = {
'basic.rs',
}
for _, file in ipairs(files) do
it(file, function()
whole_file('lua/tests/indent/rust/' .. file, {
tabstop = 4,
shiftwidth = 4,
softtabstop = 0,
expandtab = true,
})
end)
end
end)
|