diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-19 17:15:35 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-19 17:15:35 +0100 |
commit | e80086446cc20856ed8359bc8dc87c4d430da4c8 (patch) | |
tree | 2ec2710297c314efa0530ca3f24cbb99de21679c /runtime/indent | |
parent | 13ed494bb5edc5a02d0ed0feabddb68920f88570 (diff) |
Update runtime files
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/testdir/html.in | 6 | ||||
-rw-r--r-- | runtime/indent/testdir/html.ok | 6 | ||||
-rw-r--r-- | runtime/indent/testdir/python.in | 14 | ||||
-rw-r--r-- | runtime/indent/testdir/python.ok | 14 |
4 files changed, 28 insertions, 12 deletions
diff --git a/runtime/indent/testdir/html.in b/runtime/indent/testdir/html.in index b62c67ddb2..4783a096d0 100644 --- a/runtime/indent/testdir/html.in +++ b/runtime/indent/testdir/html.in @@ -1,7 +1,7 @@ -" vim: set ft=html sw=4 ts=8 : +% vim: set ft=html sw=4 ts=8 : -" START_INDENT +% START_INDENT <html> <body> <style> @@ -50,7 +50,7 @@ text </body> </html> -" END_INDENT +% END_INDENT % START_INDENT % INDENT_EXE let g:html_indent_style1 = "inc" diff --git a/runtime/indent/testdir/html.ok b/runtime/indent/testdir/html.ok index 938e965d8c..4963634465 100644 --- a/runtime/indent/testdir/html.ok +++ b/runtime/indent/testdir/html.ok @@ -1,7 +1,7 @@ -" vim: set ft=html sw=4 ts=8 : +% vim: set ft=html sw=4 ts=8 : -" START_INDENT +% START_INDENT <html> <body> <style> @@ -50,7 +50,7 @@ div#d2 { color: green; } </body> </html> -" END_INDENT +% END_INDENT % START_INDENT % INDENT_EXE let g:html_indent_style1 = "inc" diff --git a/runtime/indent/testdir/python.in b/runtime/indent/testdir/python.in index 868a63622b..e6f05f22bc 100644 --- a/runtime/indent/testdir/python.in +++ b/runtime/indent/testdir/python.in @@ -1,6 +1,14 @@ -" vim: set ft=python sw=4 et: +# vim: set ft=python sw=4 et: -" START_INDENT +# START_INDENT +# INDENT_EXE syntax match pythonFoldMarkers /{{{\d*/ contained containedin=pythonComment +# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1 + +if True: +pass +# END_INDENT + +# START_INDENT open_paren_not_at_EOL(100, (200, 300), @@ -65,4 +73,4 @@ open_paren_not_at_EOL(100, open_paren_at_EOL( 100, 200, 300, 400) -" END_INDENT +# END_INDENT diff --git a/runtime/indent/testdir/python.ok b/runtime/indent/testdir/python.ok index c0c08af4b9..df3de8f186 100644 --- a/runtime/indent/testdir/python.ok +++ b/runtime/indent/testdir/python.ok @@ -1,6 +1,14 @@ -" vim: set ft=python sw=4 et: +# vim: set ft=python sw=4 et: -" START_INDENT +# START_INDENT +# INDENT_EXE syntax match pythonFoldMarkers /{{{\d*/ contained containedin=pythonComment +# xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx {{{1 + +if True: + pass +# END_INDENT + +# START_INDENT open_paren_not_at_EOL(100, (200, 300), @@ -65,4 +73,4 @@ open_paren_not_at_EOL(100, open_paren_at_EOL( 100, 200, 300, 400) -" END_INDENT +# END_INDENT |