From be4e01637e71c8d5095c33b9861fd70b41476732 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Feb 2023 13:59:48 +0000 Subject: Update runtime files. --- runtime/indent/testdir/vim.in | 52 +++++++++++++++++++++++++++++++++++++++++++ runtime/indent/testdir/vim.ok | 52 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 104 insertions(+) (limited to 'runtime/indent') diff --git a/runtime/indent/testdir/vim.in b/runtime/indent/testdir/vim.in index 55acf6fde1..c60d2d1160 100644 --- a/runtime/indent/testdir/vim.in +++ b/runtime/indent/testdir/vim.in @@ -887,3 +887,55 @@ if true elseif endif " END_INDENT + +" START_INDENT +if ( +true) +&& true +echo +endif +" END_INDENT + +" START_INDENT +abstract class Shape +this.color = Color.Black +this.thickness = 10 +endclass +" END_INDENT + +" START_INDENT +class OtherThing +this.size: number +static totalSize: number + +static def ClearTotalSize(): number +var prev = totalSize +totalSize = 0 +return prev +enddef +endclass +" END_INDENT + +" START_INDENT +interface HasSurface +this.size: number +def Surface(): number +endinterface +" END_INDENT + +" START_INDENT +interface EnterExit +def Enter(): void +def Exit(): void +endinterface +" END_INDENT + +" START_INDENT +enum Color +White +Red +Green +Blue +Black +endenum +" END_INDENT diff --git a/runtime/indent/testdir/vim.ok b/runtime/indent/testdir/vim.ok index c6ba084305..57f0dbf34d 100644 --- a/runtime/indent/testdir/vim.ok +++ b/runtime/indent/testdir/vim.ok @@ -887,3 +887,55 @@ if true elseif endif " END_INDENT + +" START_INDENT +if ( + true) + && true + echo +endif +" END_INDENT + +" START_INDENT +abstract class Shape + this.color = Color.Black + this.thickness = 10 +endclass +" END_INDENT + +" START_INDENT +class OtherThing + this.size: number + static totalSize: number + + static def ClearTotalSize(): number + var prev = totalSize + totalSize = 0 + return prev + enddef +endclass +" END_INDENT + +" START_INDENT +interface HasSurface + this.size: number + def Surface(): number +endinterface +" END_INDENT + +" START_INDENT +interface EnterExit + def Enter(): void + def Exit(): void +endinterface +" END_INDENT + +" START_INDENT +enum Color + White + Red + Green + Blue + Black +endenum +" END_INDENT -- cgit v1.2.3