-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Hi,
Coming from the solargraph-rspec Ruby LSP plugin side here, sometimes it is useful to declare enum-like possible literals: @param [:some_symbol, :some_other_symbol].
While this is not part of the YARD https://www.rubydoc.info/gems/yard/file/docs/Tags.md#literals specification, as the YARD author mentions, that list is non-exhaustive, leaving room for such cases.
Would it make sense to extend YARD/TagTypeSyntax to allow :symbol and 'string' literals, or at least add a configuration flag to permit them?
If you find this acceptable, I can also look into extending/adding it myself.
Metadata
Metadata
Assignees
Labels
No labels