Mercurial > vim
view runtime/indent/testdir/html.ok @ 23988:686af23ec132 v8.2.2536
patch 8.2.2536: Coverity complains about unchecked return value
Commit: https://github.com/vim/vim/commit/dc167465f87a4f03f9e085597dfcfdde39fcd2b9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 20 20:26:16 2021 +0100
patch 8.2.2536: Coverity complains about unchecked return value
Problem: Coverity complains about unchecked return value.
Solution: Add (void).
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Feb 2021 20:30:03 +0100 |
parents | 5b37a0bf7e3a |
children | 4789f29c9595 |
line wrap: on
line source
" vim: set ft=html sw=4 : " 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> </body> </html> " END_INDENT % START_INDENT % INDENT_EXE let g:html_indent_style1 = "inc" % INDENT_EXE let g:html_indent_script1 = "zero" % 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> </body> </html> % END_INDENT