diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-01-22 17:07:25 +0100 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-05 18:54:55 +0100 |
| commit | b9c38a48cad935e01b96fc11df94763c85c98ee9 (patch) | |
| tree | e39206a6bd64fc73a52a033a8747be5461dc6a03 /tests/indent/cpp/initializer_list.cpp | |
| parent | indents: allow aligned_indent for unfinished calls in C and Python (diff) | |
| download | nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar.gz nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar.bz2 nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar.lz nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar.xz nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.tar.zst nvim-treesitter-b9c38a48cad935e01b96fc11df94763c85c98ee9.zip | |
indents: refactor hanging indent
Diffstat (limited to 'tests/indent/cpp/initializer_list.cpp')
| -rw-r--r-- | tests/indent/cpp/initializer_list.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/indent/cpp/initializer_list.cpp b/tests/indent/cpp/initializer_list.cpp index 5a27d17f5..d34ed025c 100644 --- a/tests/indent/cpp/initializer_list.cpp +++ b/tests/indent/cpp/initializer_list.cpp @@ -1,17 +1,17 @@ class Foo { - Foo(int a, int b, int c, int d) - : m_a(a) - , m_b(b) - , m_c(c) - , m_d(d) {} + Foo(int a, int b, int c, int d) + : m_a(a) + , m_b(b) + , m_c(c) + , m_d(d) {} - Foo(int a, int b, int c) : - m_a(a), - m_b(b), - m_c(c) - {} + Foo(int a, int b, int c) : + m_a(a), + m_b(b), + m_c(c) + {} - int m_a, m_b, m_c, m_d; + int m_a, m_b, m_c, m_d; }; |
