Skip to content

Invalid expression in generated vim script #212

Description

@tyru

Invalid expression should occur when lazy loading is failed.

volt/plugconf/plugconf.go

Lines 323 to 328 in 8f2139f

if exists(':' . a:command) isnot# 2
echohl ErrorMsg
echomsg printf('[volt] Lazy loading of Ex command '%s' failed: '%s' is not found', a:command, a:command)
echohl None
return
endif

The single quotes around %s are in another single quotes.
So that should be escaped like ''%s''.

Activity

  1. added a commit that references this issue on Mar 30, 2018
    4470ba1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions