You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
There's no easy way currently AFAIK - but you could e.g. visually select and manually run vint - on it then etc..
Would be nice if this would work however.
I am using Vader for tests myself, where the blocks ("Execute (…):") seem to work with vint, but I am not using vint as a linter by default for the test files (.vader) currently.
I think it is not really trivial, since every block would need to be handled as a separate script, and then there's also before/after etc, which would need to be handled together (before/after) the main block (for local vars etc).
I use vspec (https://github.com/kana/vim-vspec) to test vim functions. DSL Keywords are e.g.
describe
,context
,it
.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?
The text was updated successfully, but these errors were encountered: