aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-01-22 17:48:44 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-02-05 18:54:55 +0100
commit616dc885fc2257d418b9646620b4c4c193155b11 (patch)
treee8445afa3fb499c7c667f81d172dbf5cede70910 /tests
parentindents(c): indent at expression_statement (diff)
downloadnvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar.gz
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar.bz2
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar.lz
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar.xz
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.tar.zst
nvim-treesitter-616dc885fc2257d418b9646620b4c4c193155b11.zip
indents(c): fix indentation on block comment
Diffstat (limited to 'tests')
-rw-r--r--tests/indent/c/comment.c3
-rw-r--r--tests/indent/c_spec.lua1
-rw-r--r--tests/indent/cpp_spec.lua1
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/indent/c/comment.c b/tests/indent/c/comment.c
index b32de8218..435b70661 100644
--- a/tests/indent/c/comment.c
+++ b/tests/indent/c/comment.c
@@ -6,3 +6,6 @@
void foo(int *x, int y) {
*x = y;
}
+
+/*
+ *
diff --git a/tests/indent/c_spec.lua b/tests/indent/c_spec.lua
index 58ee96022..c7d21e904 100644
--- a/tests/indent/c_spec.lua
+++ b/tests/indent/c_spec.lua
@@ -14,7 +14,6 @@ describe("indent C:", function()
expected_failures = {
"./preproc_func.c",
"./label.c",
- "./comment.c",
},
})
end)
diff --git a/tests/indent/cpp_spec.lua b/tests/indent/cpp_spec.lua
index ab7ae407f..56be5db47 100644
--- a/tests/indent/cpp_spec.lua
+++ b/tests/indent/cpp_spec.lua
@@ -17,7 +17,6 @@ describe("indent C++:", function()
-- C
"c/preproc_func.c",
"c/label.c",
- "c/comment.c",
},
})
end)