Mercurial > vim
view runtime/compiler/pylint.vim @ 17200:db81cee3a0e1 v8.1.1599
patch 8.1.1599: compiler warning for uninitialized variable
commit https://github.com/vim/vim/commit/6efd76ae4a5cb60facd261abd5d64800ec96402d
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jun 26 04:06:57 2019 +0200
patch 8.1.1599: compiler warning for uninitialized variable
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Add a dummy assignment.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 26 Jun 2019 04:15:05 +0200 |
parents | 368468ef35cf |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: Pylint for Python " Maintainer: Daniel Moch <daniel@danielmoch.com> " Last Change: 2016 May 20 if exists("current_compiler") finish endif let current_compiler = "pylint" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=pylint\ --output-format=text\ --msg-template=\"{path}:{line}:{column}:{C}:\ [{symbol}]\ {msg}\"\ --reports=no CompilerSet errorformat=%A%f:%l:%c:%t:\ %m,%A%f:%l:\ %m,%A%f:(%l):\ %m,%-Z%p^%.%#,%-G%.%#