diff options
| author | Pham Huy Hoang <hoangtun0810@gmail.com> | 2023-04-03 23:47:41 +0900 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-04-08 09:56:06 -0700 |
| commit | 474c59dcf1d5586d6ef0d3f91b380c6c25eb314b (patch) | |
| tree | 19d156bee39b9246be68bb6a450a77628924010e /tests/indent/algorithm/trailing.py | |
| parent | fix(indent): Make indent ignore trailing spaces/comment (diff) | |
| download | nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar.gz nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar.bz2 nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar.lz nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar.xz nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.tar.zst nvim-treesitter-474c59dcf1d5586d6ef0d3f91b380c6c25eb314b.zip | |
add test
Diffstat (limited to 'tests/indent/algorithm/trailing.py')
| -rw-r--r-- | tests/indent/algorithm/trailing.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/algorithm/trailing.py b/tests/indent/algorithm/trailing.py new file mode 100644 index 000000000..9a753ae33 --- /dev/null +++ b/tests/indent/algorithm/trailing.py @@ -0,0 +1,6 @@ +class x: # Ignore comment + +class y: + def z(): # Ignore comment + +class t: |
