Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: allow desc in ---@alias enum #18

Merged
merged 1 commit into from
Jun 28, 2022
Merged

feat: allow desc in ---@alias enum #18

merged 1 commit into from
Jun 28, 2022

Conversation

numToStr
Copy link
Owner

Now you can add a description to a ---@alias (enum) tag

Syntax

---@alias <name>
---TEXT                  <--- This is now valid
---TEXT                  <--- and there could be more than one
---| ...
---| ...

Emmy

---@alias VMode
---Vim operator-mode motions. Read `:h map-operator`
---| 'line' Vertical motion
---| 'char' Horizontal motion
---| 'v' Visual Block Mode
---| 'V' # Visual Line Mode

Help

VMode                                                                    *VMode*
    Vim operator-mode motions. Read `:h map-operator`

    Variants: ~
        ('line')  Vertical motion
        ('char')  Horizontal motion
        ('v')     Visual Block Mode
        ('V')     Visual Line Mode

@numToStr numToStr merged commit d902592 into master Jun 28, 2022
@numToStr numToStr deleted the alias-desc branch June 28, 2022 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant