Skip to content

Errors in parsing #18

Open
Open
@junkblocker

Description

@junkblocker

Thanks for making viml parsing super fast! I have a bug: For the following code from vim-go, the following issue with parsing is seen:

/Users/xxxxxxxx/.vim/neobundles/vim-go/autoload/go/coverage.vim:92:1: vimlparser: E171: Missing :endif:    ENDFUNCTION
" Clear clears and resets the buffer annotation matches
function! go#coverage#Clear()
  " only reset the syntax if the user has syntax enabled
  if !empty(&syntax)
    if exists("g:syntax_on") | syntax enable | endif
  endif

  if exists("s:toggle") | let s:toggle = 0 | endif

  " remove the autocmd we defined 
  if exists("#BufWinLeave#<buffer>") 
    autocmd! BufWinLeave <buffer>
  endif

  call clearmatches()
endfunction

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions