Mercurial > vim
view runtime/indent/testdir/html.ok @ 29326:1f1d99bba06c v9.0.0006
patch 9.0.0006: not all Visual Basic files are recognized
Commit: https://github.com/vim/vim/commit/8b5901e2f9466eb6f38f5b251e871f609f65e252
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 29 14:39:12 2022 +0100
patch 9.0.0006: not all Visual Basic files are recognized
Problem: Not all Visual Basic files are recognized.
Solution: Change detection of *.cls files. (Doug Kearns)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 29 Jun 2022 15:45:03 +0200 |
parents | 4789f29c9595 |
children | 90a966f5c77a |
line wrap: on
line source
" vim: set ft=html sw=4 ts=8 : " START_INDENT <html> <body> <style> div#d1 { color: red; } div#d2 { color: green; } </style> <script> var v1 = "v1"; var v2 = "v2"; </script> <div> <div> text </div> </div> <div class="foo bar"> text </div> <div class="foo bar" data="something"> text </div> <div class="foo bar"> text </div> <dl> <dd> dd text </dd> <dt> dt text </dt> </dl> <div class="test" style="color: yellow"> text </div> </body> </html> " END_INDENT % START_INDENT % INDENT_EXE let g:html_indent_style1 = "inc" % INDENT_EXE let g:html_indent_script1 = "zero" % INDENT_EXE let g:html_indent_attribute = 1 % INDENT_EXE call HtmlIndent_CheckUserSettings() <html> <body> <style> div#d1 { color: red; } div#d2 { color: green; } </style> <script> var v1 = "v1"; var v2 = "v2"; </script> <div class="test" style="color: yellow"> text </div> </body> </html> % END_INDENT