google / google/vimdoc

Vimdoc should warn for command argument mismatch

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
306
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Vimdoc issues an ArgumentMismatch warning if actual function arguments don't match those declared in the doc block, but it's not checking command arguments at all. It should issue a warning when it detects a mismatch, e.g. the doc block declares an argument but the command has `-nargs=0`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.