Skip to content

Using vim-vspec causes "Error: vint: E492: Not an editor command": describe #330

@mbrinkme

Description

@mbrinkme

I use vspec (https://github.com/kana/vim-vspec) to test vim functions. DSL Keywords are e.g. describe, context, it.

describe '#AddDebugger'
  context 'when is xy project'
    it 'inserts the string byebug'
      ...
    end
  end
end

Filename: add_debugger_spec.vim

This code produces this error:
Using vim-vspec causes "Error: vint: E492: Not an editor command": describe '#AddDebugger' (see vim-jp/vim-vimlparser)

How could I handle these keywords that is originally no vimscript? Could I add some config to .vintrc.yaml in someway? Could I alternative ignore these files (*_spec.vim) in the vint config file?

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