Mercurial > vim
view runtime/compiler/tidy.vim @ 20966:0ee7de260208 v8.2.1034
patch 8.2.1034: compiler warning for uninitialized variables
Commit: https://github.com/vim/vim/commit/38041da1c263f5840f21e15484d7ccb30999ed62
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 21 22:17:18 2020 +0200
patch 8.2.1034: compiler warning for uninitialized variables
Problem: Compiler warning for uninitialized variables.
Solution: Add initializations. (John Marriott)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jun 2020 22:30:03 +0200 |
parents | 34c45ee4210d |
children | 34b4eb3a8458 |
line wrap: on
line source
" Vim compiler file " Compiler: HTML Tidy " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2016 Apr 21 if exists("current_compiler") finish endif let current_compiler = "tidy" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes\ %:S " foo.html:8:1: Warning: inserting missing 'foobar' element " foo.html:9:2: Error: <foobar> is not recognized! CompilerSet errorformat=%f:%l:%c:\ %trror:%m,%f:%l:%c:\ %tarning:%m,%-G%.%#