diff options
| author | Daniel Woznicki <danwoz@nettoolkit.com> | 2022-02-24 15:41:15 -0800 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-02-25 00:58:59 +0100 |
| commit | b425a9c8130e7654ba5f16b5b6e2538bab38dcf1 (patch) | |
| tree | 3f0fa44f38c63a4484bb747c4588e20757d23329 /tests/indent/java/issue_2571.java | |
| parent | fb7a56548b89670e2147beb15e5bd2487fffc800 (diff) | |
Added fix for incorrect Java indentation after a closing "}" in a method declaration
Added tests for Java indentation, including one for issue 2571
Diffstat (limited to 'tests/indent/java/issue_2571.java')
| -rw-r--r-- | tests/indent/java/issue_2571.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/indent/java/issue_2571.java b/tests/indent/java/issue_2571.java new file mode 100644 index 00000000..b165d236 --- /dev/null +++ b/tests/indent/java/issue_2571.java @@ -0,0 +1,6 @@ +// https://github.com/nvim-treesitter/nvim-treesitter/issues/2571 +class Testo { + void foo() { + System.out.println("foo"); + } +} |
