tomtom / checksyntax_vim

Check a file's syntax when saving a file (php, ruby, tex ...) with vim
http://www.vim.org/scripts/script.php?script_id=1431
GNU General Public License v3.0
94 stars 9 forks source link

Invalid variable: lines #21

Closed char101 closed 10 years ago

char101 commented 10 years ago
function! s:Open(bg, type) "{{{3
    " TLogVAR a:bg
    let cmd = get(g:checksyntax#show_cmd, a:type, '')
    if !empty(cmd)
        if empty(g:checksyntax#lines_expr) || !empty(lines)

The lines variables does not seems to have been defined.