summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_cindent.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-12 14:16:39 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-12 14:16:39 +0000
commit6e371ecb27227ff8fedd8561d0f3880a17576848 (patch)
tree29129df4da69f0093ac1b763dffb2be45e84c587 /src/testdir/test_cindent.vim
parent9a4ec5a62632af040c278a189e256043740f5c7f (diff)
patch 8.2.3787: no proper formatting of a C line comment after a statementv8.2.3787
Problem: No proper formatting of a C line comment after a statement. Solution: Find the start of the line comment, insert the comment leader and indent the comment properly.
Diffstat (limited to 'src/testdir/test_cindent.vim')
-rw-r--r--src/testdir/test_cindent.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_cindent.vim b/src/testdir/test_cindent.vim
index c097ca766d..c7ce2babe2 100644
--- a/src/testdir/test_cindent.vim
+++ b/src/testdir/test_cindent.vim
@@ -1694,9 +1694,9 @@ func Test_cindent_1()
#endif
int y; // comment
- // comment
+ // comment
- // comment
+ // comment
{
Constructor(int a,