diff options
| author | Jędrzej Boczar <yendreij@gmail.com> | 2021-03-13 23:51:57 +0100 |
|---|---|---|
| committer | Kiyan <yazdani.kiyan@protonmail.com> | 2021-04-23 21:21:38 +0200 |
| commit | 4454459fb2ce64caaf1d0e32472ad7dcdbf3e436 (patch) | |
| tree | b8a48ceb3132e67a21698f8c1584c94b8f248278 /lua/tests/indent/python_spec.lua | |
| parent | Initial sketch of automated indent tests (diff) | |
| download | nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar.gz nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar.bz2 nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar.lz nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar.xz nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.tar.zst nvim-treesitter-4454459fb2ce64caaf1d0e32472ad7dcdbf3e436.zip | |
tests/indent: add basic examples for C and Rust
Diffstat (limited to 'lua/tests/indent/python_spec.lua')
| -rw-r--r-- | lua/tests/indent/python_spec.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lua/tests/indent/python_spec.lua b/lua/tests/indent/python_spec.lua index 9fcdf4637..70017bde1 100644 --- a/lua/tests/indent/python_spec.lua +++ b/lua/tests/indent/python_spec.lua @@ -14,6 +14,13 @@ describe('indent python', function() 'strings.py', } for _, file in ipairs(files) do - it(file, function() whole_file('lua/tests/indent/python/' .. file) end) + it(file, function() + whole_file('lua/tests/indent/python/' .. file, { + tabstop = 4, + shiftwidth = 4, + softtabstop = 0, + expandtab = true, + }) + end) end end) |
